Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEND envelop to a destination #833

Open
mohadese-yousefi opened this issue May 19, 2019 · 0 comments
Open

SEND envelop to a destination #833

mohadese-yousefi opened this issue May 19, 2019 · 0 comments
Labels
404 Not Found 413 Request Entity Too Large 415 Unsupported Media Type 916 Body Must Be Greater Than %d Characters 917 Body Must Be Less Than %d Characters draft rest story

Comments

@mohadese-yousefi
Copy link
Contributor

mohadese-yousefi commented May 19, 2019

SEND /apiv1/destinations/:id/envelopes

As a Member I can send a envelope to a destination.

User Story


Form Parameters

Parameters Type Optional Example Description
body String False Hello body of envelope
minetype String False plain/text One of following: text/plain, image/jpeg, image/jpeg, image/jpg, application/x-auditlog
attachment File True A file

Response

{
  "id": 123456,
  "body": "Hello",
  "type": "envelope",
  "mimeType": "text/plain",
  "destinationId": 147,
  "senderId": 456,
  "modifiedAt": null,
  "createdAt": "2018-07-03T12:20:18.555Z",
  "seenBy": [123],
  "attachment": null,
}
@farzaneka farzaneka changed the title SEND message to a target SEND message to a room May 20, 2019
@farzaneka farzaneka added 413 Request Entity Too Large 415 Unsupported Media Type 404 Not Found 916 Body Must Be Greater Than %d Characters 917 Body Must Be Less Than %d Characters labels May 20, 2019
@farzaneka farzaneka changed the title SEND message to a room SEND message to a destination May 20, 2019
@farzaneka farzaneka changed the title SEND message to a destination SEND envelop to a destination May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
404 Not Found 413 Request Entity Too Large 415 Unsupported Media Type 916 Body Must Be Greater Than %d Characters 917 Body Must Be Less Than %d Characters draft rest story
Projects
None yet
Development

No branches or pull requests

2 participants