Overview
Summary
Contact
Donate
Imprint
Prompt for the
LiveStreamView
Please create a React-JS view called "LiveStreamView" for the fields of the LiveStream entity. The LiveStreamView must contain the following fields: - name: ActualEndAt type: DATE - name: ActualStartAt type: DATE - name: Channel type: Channel - name: ConcurrentViewersPeak type: LONG - name: CreatedAt type: DATE - name: Description type: STRING - name: ScheduledStartAt type: DATE - name: Status type: STRING - name: Title type: STRING - name: Video type: Video The data source for the [Video] select control should be loaded from the relative URL: "/VideoService/video" (HTTP-GET) The data source for the [Channel] select control should be loaded from the relative URL: "/ChannelService/channel" (HTTP-GET) An existing LiveStream entity should be loaded from the relative URL: "/LiveStreamService/livestream/{id}" (HTTP-GET) If a new LiveStream entity has been created, the new entity should be posted to the relative URL: "/LiveStreamService/livestream" (HTTP-POST) If an existing LiveStream entity has been updated, the modified entity should be sent to the relative URL: "/LiveStreamService/livestream/{id}" (HTTP-PUT) If an existing LiveStream entity has to be deleted, the following relative URL should be called: "/LiveStreamService/livestream/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LiveChatMessage columns: - column: CreatedAt - column: Currency - column: LiveStream - column: MessageText - column: User - column: IsDeleted - column: SuperChatAmount The table should have the title "LiveChatMessages" und the data must be loaded from the server with the following relative URL: "/LiveStreamService/livechatmessage/livestream/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint