Overview
Summary
Contact
Donate
Imprint
Prompt for the
MediaItemView
Please create a React-JS view called "MediaItemView" for the fields of the MediaItem entity. The MediaItemView must contain the following fields: - name: Caption type: STRING - name: DurationSeconds type: LONG - name: MediaType type: MediaType - name: Person type: Person - name: PublishedAt type: DATE - name: ThumbnailUrl type: STRING - name: Title type: Title - name: Url type: STRING The data source for the [MediaType] select control should be loaded from the relative URL: "/JobTypeService/mediatype" (HTTP-GET) The data source for the [Title] select control should be loaded from the relative URL: "/TitleService/title" (HTTP-GET) The data source for the [Person] select control should be loaded from the relative URL: "/PersonService/person" (HTTP-GET) An existing MediaItem entity should be loaded from the relative URL: "/JobTypeService/mediaitem/{id}" (HTTP-GET) If a new MediaItem entity has been created, the new entity should be posted to the relative URL: "/JobTypeService/mediaitem" (HTTP-POST) If an existing MediaItem entity has been updated, the modified entity should be sent to the relative URL: "/JobTypeService/mediaitem/{id}" (HTTP-PUT) If an existing MediaItem entity has to be deleted, the following relative URL should be called: "/JobTypeService/mediaitem/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint