Overview
Summary
Contact
Donate
Imprint
Prompt for the
PlaylistView
Please create a React-JS view called "PlaylistView" for the fields of the Playlist entity. The PlaylistView must contain the following fields: - name: Channel type: Channel - name: CreatedAt type: DATE - name: Description type: STRING - name: IsSystemGenerated type: BOOL - name: PrivacyStatus type: STRING - name: Title type: STRING - name: UpdatedAt type: DATE The data source for the [Channel] select control should be loaded from the relative URL: "/ChannelService/channel" (HTTP-GET) An existing Playlist entity should be loaded from the relative URL: "/PlaylistService/playlist/{id}" (HTTP-GET) If a new Playlist entity has been created, the new entity should be posted to the relative URL: "/PlaylistService/playlist" (HTTP-POST) If an existing Playlist entity has been updated, the modified entity should be sent to the relative URL: "/PlaylistService/playlist/{id}" (HTTP-PUT) If an existing Playlist entity has to be deleted, the following relative URL should be called: "/PlaylistService/playlist/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PlaylistVideo columns: - column: Playlist - column: AddedByUser - column: Video - column: AddedAt - column: Position The table should have the title "PlaylistVideos" und the data must be loaded from the server with the following relative URL: "/PlaylistService/playlistvideo/playlist/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint