Source Folders

Description

The Source Folders resource is a set of all source folders in the system. This resource is used to create new source folders. The default source folder is the folder without a name. If a folder isn't specified when a source is attached, the source will be put in the default folder.

Data Formats

Readable

If you make a GET request, specify the desired data format using the Accept header.

Writable

If you POST something, specify the data format using the Content-Type header.

Parameters

Name Type Description
Authorization header The authorization carrying the OAuth 2.0 access token. See OAuth 2.0 Bearer Tokens.
access_token query The ID of the OAuth 2 access token used for identification and authorization of the user (and agent) making the request.

Operations

GET - Read the collections defined by the current user.

Status Codes
303 The request was successful. Expect redirection to the collections for the current user.

POST - Create a user-defined collection.

Status Codes
201 The request was successful. Expect an ID header specifying the ID of the created collection.
400 If the collection to be created already exits or has an invalid name.

Example Requests

Create Source Folder How to create a source folder.
x

Select a language