Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Resource: Temporary Attachments Set ( /api/temporaryattachmentsets )

Provides the attachment set collection resource, when you want to create a new temrporary attachment set which you can post new files to.

This resource supports the following methods: POST

Methods

POST


Create a new temporary attachments set.

Status Codes

These are the expected status codes returned by the service - in addition, some other status codes may be returned if either an internal error occurs or there is an authentication issue (such as an expired OAuth token).

StatusDescription
201 - CreatedReturned if the request is completed successfully.

Example - POST

Create a new temporary attachments set which attachments can be added to.

Request Headers

KeyValueDescription
Acceptapplication/json

Response Headers

KeyValueDescription
Locationhttp://localhost/api/temporaryattachmentset/4bb709c2-e0e7-4af3-9f60-a045016a9610
Content-Typeapplication/json; charset=utf-8

Response Body

Code Block
languagenone
{
  "Id": "4bb709c2-e0e7-4af3-9f60-a045016a9610",
  "Self": "http://localhost/api/temporaryattachmentset/4bb709c2-e0e7-4af3-9f60-a045016a9610"
}

Status Code

201 - Created