Overview
Summary
Contact
Donate
Imprint
Prompt for the
AttachmentView
Please create a React-JS view called "AttachmentView" for the fields of the Attachment entity. The AttachmentView must contain the following fields: - name: Blurhash type: STRING - name: CreatedAt type: DATE - name: EncryptionKey type: STRING - name: EncryptionNonce type: STRING - name: FileName type: STRING - name: Message type: Message - name: MimeType type: STRING - name: RemoteStorageUrl type: STRING - name: SizeBytes type: LONG - name: ThumbnailUrl type: STRING The data source for the [Message] select control should be loaded from the relative URL: "/MessageService/message" (HTTP-GET) An existing Attachment entity should be loaded from the relative URL: "/MessageService/attachment/{id}" (HTTP-GET) If a new Attachment entity has been created, the new entity should be posted to the relative URL: "/MessageService/attachment" (HTTP-POST) If an existing Attachment entity has been updated, the modified entity should be sent to the relative URL: "/MessageService/attachment/{id}" (HTTP-PUT) If an existing Attachment entity has to be deleted, the following relative URL should be called: "/MessageService/attachment/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint