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

Reply to an envelope #837

Open
farzaneka opened this issue May 19, 2019 · 0 comments
Open

Reply to an envelope #837

farzaneka opened this issue May 19, 2019 · 0 comments
Labels
401 Unauthorized 404 Not Found 415 Unsupported Media Type 916 Body Must Be Greater Than %d Characters 917 Body Must Be Less Than %d Characters 923 Message Already Deleted 924 Message Body Required 925 Message Mimetype Required draft rest story

Comments

@farzaneka
Copy link
Contributor

farzaneka commented May 19, 2019

REPLY /apiv1/envelopes/:id

As a Member I can reply to an envelope.

User stroy


Form Parameters:

Parameters Type Example Description
body String 'Hello !' body of envelope
mimetype String 'text/plain' mimetype of the envelope

Response:

{
  "id": 123456,
  "body": "Bye",
  "type": "evelope",
  "mimeType": "text/plain",
  "destinationId": 147,
  "senderId": "456",
  "editedAt": "2018-07-03T12:20:18.555Z",
  "seenBy": [456, 789],
  "createdAt": "2018-07-03T12:20:18.555Z",
  "replyRoot": "123455",
  "replyTo" : 
     {
       "id": "123455",
       "body": "Hi !",
       "mimetype": "text/plain",
       "destinatonId": 147,
       "senderId": "456",
       "editedAt": "null",
       "seenBy": [456, 789],
       "createdAt": "2018-07-03T12:20:18.555Z"
    }
  }
@farzaneka farzaneka added draft rest story 415 Unsupported Media Type 401 Unauthorized 404 Not Found 923 Message Already Deleted 916 Body Must Be Greater Than %d Characters 917 Body Must Be Less Than %d Characters 924 Message Body Required 925 Message Mimetype Required labels May 19, 2019
@farzaneka farzaneka changed the title Reply to a message Reply to an envelope May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
401 Unauthorized 404 Not Found 415 Unsupported Media Type 916 Body Must Be Greater Than %d Characters 917 Body Must Be Less Than %d Characters 923 Message Already Deleted 924 Message Body Required 925 Message Mimetype Required draft rest story
Projects
None yet
Development

No branches or pull requests

1 participant