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: AspectRatio type: STRING - name: CreatedAt type: DATE - name: DurationSeconds type: LONG - name: FilterName type: STRING - name: Height type: LONG - name: MediaOrder type: LONG - name: MediaType type: STRING - name: Post type: Post - name: ThumbnailUrl type: STRING - name: Url type: STRING - name: Width type: LONG The data source for the [Post] select control should be loaded from the relative URL: "/UserAccountService/post" (HTTP-GET) An existing MediaItem entity should be loaded from the relative URL: "/UserAccountService/mediaitem/{id}" (HTTP-GET) If a new MediaItem entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/mediaitem" (HTTP-POST) If an existing MediaItem entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/mediaitem/{id}" (HTTP-PUT) If an existing MediaItem entity has to be deleted, the following relative URL should be called: "/UserAccountService/mediaitem/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint