Overview
Summary
Contact
Donate
Imprint
Prompt for the
MediaTypeView
Please create a React-JS view called "MediaTypeView" for the fields of the MediaType entity. The MediaTypeView must contain the following fields: - name: Description type: STRING - name: Name type: STRING An existing MediaType entity should be loaded from the relative URL: "/JobTypeService/mediatype/{id}" (HTTP-GET) If a new MediaType entity has been created, the new entity should be posted to the relative URL: "/JobTypeService/mediatype" (HTTP-POST) If an existing MediaType entity has been updated, the modified entity should be sent to the relative URL: "/JobTypeService/mediatype/{id}" (HTTP-PUT) If an existing MediaType entity has to be deleted, the following relative URL should be called: "/JobTypeService/mediatype/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MediaItem columns: - column: Title - column: Person - column: MediaType - column: DurationSeconds - column: PublishedAt - column: ThumbnailUrl - column: Url - column: Caption The table should have the title "MediaItems" und the data must be loaded from the server with the following relative URL: "/JobTypeService/mediaitem/mediatype/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint