v1

latestSwagger 2.02026-07-17652667.3 KB
basic

New bag comment

post/stores/{store_name}/bags/{bag_name}/comments

Path parameters

store_namestring required

Name of the store

bag_namestring required

Name of the bag

Request body

identifierinteger required
comment_textstring required
createdstring date-time required

Example request

{
  "identifier": 1,
  "comment_text": "comment_text",
  "created": "2000-01-23T04:56:07.000+00:00",
  "posted_by": {
    "password": "my-password",
    "full_name": "John Doe",
    "permissions": [
      {
        "identifier": "identifier",
        "name": "name",
        "granted": true
      },
      {
        "identifier": "identifier",
        "name": "name",
        "granted": true
      }
    ],
    "alias": "johndoe",
    "email": "John@Doe.com"
  }
}

Response

Posted comment