Breadcrumbs

Acquia Connector v1.0 Initial Release

Version 1

Connector Overview: This page documents all 58 endpoints for the Acquiaconnector v1.

View API Documentation


POST

Analytics: List Asset Downloads

The Analytics endpoints provide information about asset usage from the Insights application. The API will return download, view, and share details for a single asset. Events may take up to 24 hours before appearing in analytics API results.

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Response Type

N/A

Options (2)

Option Name

Description

Limit

N/A

Pagination Token

N/A


POST

Analytics: List Asset Shares

The Analytics endpoints provide information about asset usage from the Insights application. The API will return download, view, and share details for a single asset. Events may take up to 24 hours before appearing in analytics API results.

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Response Type

N/A

Options (2)

Option Name

Description

Limit

N/A

Pagination Token

N/A


POST

Analytics: List Asset Views

The Analytics endpoints provide information about asset usage from the Insights application. The API will return download, view, and share details for a single asset. Events may take up to 24 hours before appearing in analytics API results.

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Response Type

N/A

Options (2)

Option Name

Description

Limit

N/A

Pagination Token

N/A


POST

Assets: Complete Chunked Upload

Assets with large filesizes can be broken into pieces and uploaded as smaller chunks.

``Start Chunked Upload`` begins a chunked uploading session. The session_id in the response must be used for subsequent upload chunk and complete chunk calls. This session_id is good for 7 days.
Use ``Upload Chunk` to upload each piece of the file. Each call must include the session_id from the `Start Chunked Upload` call. The tag in each `Upload Chunk` response must be used in the `Complete Chunked Upload`` call.
Once all file chunks have been uploaded, call ``Complete Chunked Upload` with a list of all tags to complete the upload and put the file chunks back together into one file. The file_id in the reponse can be used in the `Create Asset`` call to create an Asset from this file.
Note: Some Collective accounts do not support chunked uploading. If you receive a 'Chunked uploads are not currently available for this account' error response, please contact support@widen.com to discuss your use case.

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Session Id

Session ID for this chunked upload as returned by the Start Chunked Upload call

Tags

Array of tags returned by the Upload Chunk calls. Order is not important

Response Type

N/A

Options (1)

Option Name

Description

Options

N/A


DELETE

Assets: Delete Alternate Preview

Upload a new file as an alternate preview to an Asset.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Id

Asset ID

Response Type

N/A


DELETE

Assets: Delete Assets

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Id

Asset ID

Expand

N/A

Response Type

N/A


GET

Assets: Get Asset Groups

Get a list of Asset Groups that the calling User has permission to view.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Response Type

N/A


GET

Assets: List All Upload Profiles

All uploads require a profile. Profiles control a new asset's initial metadata and security defaults.

Use the Collective administrative tools to configure profiles to accommodate your use case.
See Stackoverflow for examples of creating multipart/form-data requests for your language.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Response Type

N/A


GET

The scroll endpoint can be used to retrieve large numbers of results (or even all results) from a single search request.

C
<p>Scrolling is not intended for real time user requests, but rather for processing large amounts of data, e.g. with a background batch application that syncs Acquia Collective data locally.  For more details on when to use scrolling and when to use an offset, see this [Widen Developer blog post](https://developer.widen.com/blog/pagination-in-search/).
<p>In order to use the scroll endpoint, the initial List By Search Query request should specify a `scroll=true` parameter in the query.  The result set will contain a `scroll_id` field that can be passed into the scrolling search endpoint.
<p>Each call to the scroll endpoint with the previous response's `scroll_id` returns the next batch of results until there are no more results left to return, ie the result list is empty.  You must make the next call within the response's `scroll_timeout` value (in ms) before the `scroll_id` becomes invalid.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Scroll Id

scroll_id as returned by the original List By Search Query request

Expand

Comma-seperated list of data items to expand on result set

Response Type

N/A


GET

Assets: List By Search Query

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Query

Collective quicksearch query. Uses the same quick search syntax used within the Acquia Collective web UI. For more information on the format of a query string, see
Quick Search Help.

Limit

Numeric limit of the total number of results to retrieve. Maximum value is 100.

Offset

Starting position of query result set. For more details on when to use an offset and when to use scrolling, see this Widen Developer blog post.

Sort

Field to order the result-set; prefix term with - (negative sign) to for descending order. Default is -created_date (newest assets first).

Expand

Comma-seperated list of data items to expand on the result set

Facet

Comma-seperated list of data items to facet on the result set. For more details on faceting, see this Widen Developer blog post.

Scroll

If true, a scroll_id is included with the results to allow scrolling through large result sets. Default value is false.

Include Deleted

If true, deleted assets will be returned in the results, if the user associated with the access token has permission to view deleted assets. Default value is false.

Include Archived

If true, archived assets will be returned in the results, if the user associated with the access token has permission to view archived assets. Default value is false.

Search Document Text

If true, will include searching of document text in your search results. Default value is false.

Response Type

N/A


PUT

Assets: Rename

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Id

Asset ID

Response Type

N/A

Options (1)

Option Name

Description

Options

N/A


GET

Assets: Retrieve Asset Metadata

Metadata subresource simply returns the metadata property of the asset. The object structure returned by search endpoint and this method are identical.
All assigned fields for the asset will be included. Empty fields are repesented with an empty array.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Id

ID of asset

Response Type

N/A


GET

Assets: Retrieve Asset Security

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Id

ID of asset

Response Type

N/A


GET

Assets: Retrieve by ID

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Id

Asset ID

Expand

Additional properties to be included in response (comma delimited list).

Response Type

N/A


POST

Assets: Start Chunked Upload

Assets with large filesizes can be broken into pieces and uploaded as smaller chunks.

``Start Chunked Upload`` begins a chunked uploading session. The session_id in the response must be used for subsequent upload chunk and complete chunk calls. This session_id is good for 7 days.
Use ``Upload Chunk` to upload each piece of the file. Each call must include the session_id from the `Start Chunked Upload` call. The tag in each `Upload Chunk` response must be used in the `Complete Chunked Upload`` call.
Once all file chunks have been uploaded, call ``Complete Chunked Upload` with a list of all tags to complete the upload and put the file chunks back together into one file. The file_id in the reponse can be used in the `Create Asset`` call to create an Asset from this file.
Note: Some Collective accounts do not support chunked uploading. If you receive a 'Chunked uploads are not currently available for this account' error response, please contact support@widen.com to discuss your use case.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Response Type

N/A


PUT

Assets: Update Security

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Id

ID of asset

Patch

Comma seperated list of properties to update. Valids values are all, expiration_date, release_date, asset_groups.

Response Type

N/A

Options (3)

Option Name

Description

Expiration Date

N/A

Release Date

N/A

Asset Groups

N/A


POST

Assets: Upload Alternate Preview

Upload a new file as an alternate preview to an Asset.

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Id

Asset ID

Response Type

N/A

Options (1)

Option Name

Description

File

(multipart/form-data field) Binary file of the alternate preview file for this asset


POST

Assets: Upload Chunk

Assets with large filesizes can be broken into pieces and uploaded as smaller chunks.

``Start Chunked Upload`` begins a chunked uploading session. The session_id in the response must be used for subsequent upload chunk and complete chunk calls. This session_id is good for 7 days.
Use ``Upload Chunk` to upload each piece of the file. Each call must include the session_id from the `Start Chunked Upload` call. The tag in each `Upload Chunk` response must be used in the `Complete Chunked Upload`` call.
Once all file chunks have been uploaded, call ``Complete Chunked Upload` with a list of all tags to complete the upload and put the file chunks back together into one file. The file_id in the reponse can be used in the `Create Asset`` call to create an Asset from this file.
Note: Some Collective accounts do not support chunked uploading. If you receive a 'Chunked uploads are not currently available for this account' error response, please contact support@widen.com to discuss your use case.

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Session Id

(multipart/form-data field) Session ID for this chunked upload as returned by the Start Chunked Upload call

Chunk Number

(multipart/form-data field) The chunk number. Must be between 1 and 10,000

Response Type

N/A

Options (1)

Option Name

Description

File

(multipart/form-data field) Binary file chunk for upload. Cannot be greater than 100MB, and must be at least 5MB unless it's the last chunk.


POST

Assets: Upload a file

All uploads require a profile. Profiles control a new asset's initial metadata and security defaults.

Use the Collective administrative tools to configure profiles to accommodate your use case.
See Stackoverflow for examples of creating multipart/form-data requests for your language.

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Authorization

N/A

Response Type

N/A

Options (1)

Option Name

Description

Options

N/A


GET

Attributes: List Attributes

The Attributes endpoint lists all product attributes that have been configured in Entries, and all controlled vocabulary values for any single-select or multi-select attribute.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Limit

Numeric limit of the total number of results to retrieve. Maximum value is 1000. Defaults to 100.

Offset

Starting position of query result set. Defaults to 0.

Response Type

N/A


GET

Attributes: List Vocabulary

The Attributes endpoint lists all product attributes that have been configured in Entries, and all controlled vocabulary values for any single-select or multi-select attribute.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Id

Attribute ID

Response Type

N/A


GET

Categories: List Product Categories

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Limit

Numeric limit of the total number of results to retrieve. Maximum value is 50. Defaults to 50.

Offset

Starting position of query result set. Defaults to 0.

Parent Product Category Id

Optional parent product category id. If ommittedd, the top level categories will be returned.

Response Type

N/A


GET

Channels: List Channels

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Limit

Numeric limit of the total number of results to retrieve. Maximum value is 1000. Defaults to 100.

Offset

Starting position of query result set. Defaults to 0.

Response Type

N/A


GET

Collections: List collections

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Type

Filter for type of collections. One of global, private or shared.

Response Type

N/A


DELETE

Metadata: Delete Value

The metadata controlled vocabulary endpoint allows you to query, add, update, re-order, or delete controlled vocabulary values to your drop-down, palette, and checkbox group metadata fields.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Displaykey

Display key of the controlled vocabulary metadata field

Existingvalue

The controlled vocabulary value you wish to delete

Response Type

N/A


GET

Metadata: List Values

The metadata controlled vocabulary endpoint allows you to query, add, update, re-order, or delete controlled vocabulary values to your drop-down, palette, and checkbox group metadata fields.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Displaykey

Display key of the controlled vocabulary metadata field

Response Type

N/A


GET

Metadata: Retrieve Single Value

The metadata controlled vocabulary endpoint allows you to query, add, update, re-order, or delete controlled vocabulary values to your drop-down, palette, and checkbox group metadata fields.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Displaykey

Display key of the controlled vocabulary metadata field

Existingvalue

The controlled vocabulary value

Response Type

N/A


GET

Metadata: Viewable

The metadata fields endpoint allows you to query for a list of metadata fields that you have permission to see.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Field Types

The field type that you want to query

Display Name After

A filter that only returns metadata fields with display names alphabetically greater than this value.

Display Name Starts With

A filter that only returns metadata fields with display names that start with this value

Limit

The max number of metadata fields returned by this query. Must be between 1 and 100.

Response Type

N/A


DELETE

OAuth: Invalidate Access Token

When obtaining an access token, a successful response will contain the following fields:

  • access_token: This is your access token. It should be stored securely and included with any requests to access protected resources.

  • token_type: This is the type of token you received. At this time, the token type will always be "Bearer".

If the OAuth client used to obtain an access token is set up to use refresh tokens, the response will include two additional fields.

  • refresh_token: This is a refresh token that can be used to obtain a new access token.

  • expires_in: Number of seconds until the access_token expires.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Authorization

N/A

Response Type

N/A


POST

OAuth: Obtain Access Token

When obtaining an access token, a successful response will contain the following fields:

  • access_token: This is your access token. It should be stored securely and included with any requests to access protected resources.

  • token_type: This is the type of token you received. At this time, the token type will always be "Bearer".

If the OAuth client used to obtain an access token is set up to use refresh tokens, the response will include two additional fields.

  • refresh_token: This is a refresh token that can be used to obtain a new access token.

  • expires_in: Number of seconds until the access_token expires.

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Accept

N/A

Response Type

N/A

Options (4)

Option Name

Description

Grant Type

N/A

Authorization Code

N/A

Client Id

N/A

Client Secret

N/A


GET

Product Types: List Product Types

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Limit

Numeric limit of the total number of results to retrieve. Maximum value is 1000. Defaults to 100.

Offset

Starting position of query result set. Defaults to 0.

Response Type

N/A


POST

Products: Create a New Product

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Response Type

N/A

Options (1)

Option Name

Description

Options

N/A


DELETE

Products: Delete Products

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Product Id

ID of the Product (case sensitive)

Response Type

N/A


POST

Products: List Products by Search Query

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Response Type

N/A

Options (5)

Option Name

Description

Query

Optional term that will search for this string in product name or sku

Limit

Max 100, Min 0, Default 10

Offset

Max 9999, Min 0, Default 0

Expand

If included, result set will be expanded with additional data

Filters

Defaults to empty. Filters are AND-ed together. To mimic Entries channel export use the exclude_variants filter. To mimic Entries product search page use the exclude_variant and search_parents_via_variants filters.


GET

Products: List Products for Channel

The Channel Products endpoint returns a list of products associated with a given channel in Entries. Only the products and attributes that are configured for the channel will be included in the response.

Note that channel_id is case sensitive.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Channel Id

Channel ID (case-sensitive)

Limit

Numeric limit of the total number of results to retrieve. Maximum value is 100. Defaults to 100.

Offset

Starting position of query result set. Defaults to 0.

Response Type

N/A


PUT

Products: Rename

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Product Id

ID of the Product (case sensitive)

Response Type

N/A

Options (1)

Option Name

Description

New Name

N/A


GET

Products: Retrieve by ID

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Product Id

ID of the Product (case sensitive)

Response Type

N/A


PUT

Products: Update Attribute Values

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Product Id

ID of the Product (case sensitive)

Response Type

N/A


PUT

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Product Id

ID of the Product (case sensitive)

Response Type

N/A

Options (1)

Option Name

Description

Asset Id

N/A


PUT

Products: Update Parent Product

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Product Id

ID of the Product (case sensitive)

Response Type

N/A

Options (1)

Option Name

Description

Parent Product Id

N/A


PUT

Products: Update Product Category

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Product Id

ID of the Product (case sensitive)

Response Type

N/A


PUT

Products: Update Product Type

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Product Id

ID of the Product (case sensitive)

Response Type

N/A

Options (1)

Option Name

Description

Product Type Id

N/A


GET

Search Connector: Instant Search Connector URL

The Instant Search Connector allows external applications access to Acquia Collective Asset search, without having to implement a native search UI.

  • The Instant Search Connector UI is provided by Acquia via a secure dynamic web url endpoint.

  • This Search Connector url is returned by an API call to /integrations/url (described below).

  • The Search Connector UI is intended to be displayed in an iframe within the parent application.

  • Searching and selecting of multiple Assets is provided by the Search Connector UI.

  • Search permissions will match those of the API caller that made the query to /integrations/url for the search endpoint.

  • The Search Connector url is valid for 24 hours, and is signed via a one-way hash to prevent modification of its parameters.

When a user selects one or more Assets in the Search Connector UI, information about the user’s selection is passed back to the parent application with a javascript postMessage call:

JSON
    {
        "count": 1,
        "action": "embed",
        "items": [
            {
                "id": "190dfsaf-f82c-462m-bc5e-eab2b8ed3bf9",
                "external_id": "fzsf3duqp0",
                "filename": "beef_soup.psd",
                "embed_name": "640px Landscape",
                "embed_link": "https://embed.widencdn.net/img/demo/fzsf3duqp0/640px/beef_soup.jpeg?u=xkzj3k",
                "embed_code": "<img width=\"640\" alt=\"beef_soup\" src=\"https://embed.widencdn.net/img/demo/fzsf3duqp0/640px/beef_soup.jpeg?u=xkzj3k\">",        
                "share_link": "https://p.widencdn.net/g6dnbl/Mimco4",
                "thumbnail_link": "https://embed.widencdn.net/img/demo/fzsf3duqp0/2048px/beef_soup.jpeg
            }
        ]
    }

The hosting application's javascript can receive this and process this message by listening for the "message" event:

C
    window.addEventListener('message', function(event)
    {
        console.log(event.data);
        var embedCode = event.data.items[0].embed_code;
        console.log(embedCode);
    
        // Insert embedCode into user’s html content
        // Close iframe
    })

The parent application can use the embed_code to insert into web page content, or the share_link for outbound email messages, or store the selected Asset IDs for future use.

See our support article for more information about the Instant Search Connector.Returns a url to the Search Connector UI. This UI intended to be displayed in an iframe within the parent application. The returned url is valid for 24 hours and is signed via a one-way hash to prevent modification of its parameters.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Query

Optional URL-encoded search term to initially seed the Search Connector results page.

Hidesearchbar

Optional flag to remove the search bar from the user interface. Useful when used with the optional query parameter to simply present a set of search results. Default value is 'false'.

Response Type

N/A


GET

Toggles: List Toggles

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Response Type

N/A


GET

Usage: Get API Usage

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Content-type

N/A

Response Type

N/A


GET

Users: Get User

Returns information about the user associated with the given Access Token.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Content-type

N/A

Response Type

N/A


POST

Workflow Projects: Add Deliverable to Project

Deliverables represent the individual components of a Workflow project. A deliverable contains a review workflow, dates, and acquires one to many versions of a proof throughout the review cycle.

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Project Id

Project ID

Response Type

N/A

Options (1)

Option Name

Description

Options

N/A


PUT

Workflow Projects: Close Deliverable

Deliverables represent the individual components of a Workflow project. A deliverable contains a review workflow, dates, and acquires one to many versions of a proof throughout the review cycle.

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Project Id

Project ID

Deliverable Id

Deliverable ID

Response Type

N/A

Options (2)

Option Name

Description

Upload Profile

N/A

Filename

N/A


POST

Workflow Projects: Create new Project

Projects are the container object for all work that is to be reviewed. A project can have zero to many deliverables and is managed by a single person, the project manager.

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Response Type

N/A

Options (7)

Option Name

Description

Name

N/A

Description

N/A

Start Date

N/A

End Date

N/A

Project Manager

N/A

Owner

N/A

Workgroups

N/A


DELETE

Workflow Projects: Delete Deliverable

Deliverables represent the individual components of a Workflow project. A deliverable contains a review workflow, dates, and acquires one to many versions of a proof throughout the review cycle.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Project Id

Project ID

Deliverable Id

Deliverable ID

Response Type

N/A


DELETE

Workflow Projects: Delete Project

Projects are the container object for all work that is to be reviewed. A project can have zero to many deliverables and is managed by a single person, the project manager.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Project Id

Project ID

Response Type

N/A


GET

Workflow Projects: Retrieve Deliverable By ID

Deliverables represent the individual components of a Workflow project. A deliverable contains a review workflow, dates, and acquires one to many versions of a proof throughout the review cycle.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Project Id

Project ID

Deliverable Id

Deliverable ID

Response Type

N/A


GET

Workflow Projects: Retrieve all Project Deliverables

Deliverables represent the individual components of a Workflow project. A deliverable contains a review workflow, dates, and acquires one to many versions of a proof throughout the review cycle.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Project Id

Project ID

Response Type

N/A


GET

Workflow Projects: Retrieve supporting files

Projects are the container object for all work that is to be reviewed. A project can have zero to many deliverables and is managed by a single person, the project manager.

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Project Id

Project ID

Response Type

N/A


POST

Workflow Projects: Upload Proof to Deliverable

Deliverables represent the individual components of a Workflow project. A deliverable contains a review workflow, dates, and acquires one to many versions of a proof throughout the review cycle.

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Project Id

Project ID

Deliverable Id

Deliverable ID

Response Type

N/A

Options (3)

Option Name

Description

Filename

N/A

Url

N/A

Content Length

N/A


POST

Workflow Webhooks: Add new Webhook

Webhooks allow you to subscribe to changes within Acquia Workflow and be updated of these changes as they happen. This is a more convenient and efficient mechanism to receive notification of changes (Events) without using polling.
The API allows you to retrieve a list of all webhook subscriptions, create new subscriptions, and remove existing subscriptions. Event updates are made via an HTTP POST and Workflow currently sends one Event object per POST.

Events supported (and example HTTP POST bodies):

  • `DELIVERABLE_STATUS_CHANGED` Event - updated when a deliverable changes status such as moving from “In Review” to “Needs Proof”:

```
{
  "deliverable_key": "001",
  "old_status": "NEEDS_SETUP",
  "new_status: "NEEDS_PROOF"
}
```

Possible values (for `old_status` and `new_status`):
- `NEEDS_SETUP`
- `NEEDS_PROOF`
- `NEEDS_PROOF_WITH_EDITS`
- `IN_REVIEW`
- `REVIEW_COMPLETE`
- `CLOSED`
  • `PROJECT_CREATED` Event - updated when a new project has been created. Returns the project ID and title:

```
{
  "project_id": "TLA-0002",
  "title": "DAM Decisions"
}
```

Parameters

Parameter Name

Description

Content Type

N/A

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Response Type

N/A

Options (2)

Option Name

Description

Event

N/A

Target

N/A


DELETE

Workflow Webhooks: Delete Webhook

Webhooks allow you to subscribe to changes within Acquia Workflow and be updated of these changes as they happen. This is a more convenient and efficient mechanism to receive notification of changes (Events) without using polling.
The API allows you to retrieve a list of all webhook subscriptions, create new subscriptions, and remove existing subscriptions. Event updates are made via an HTTP POST and Workflow currently sends one Event object per POST.

Events supported (and example HTTP POST bodies):

  • `DELIVERABLE_STATUS_CHANGED` Event - updated when a deliverable changes status such as moving from “In Review” to “Needs Proof”:

```
{
  "deliverable_key": "001",
  "old_status": "NEEDS_SETUP",
  "new_status: "NEEDS_PROOF"
}
```

Possible values (for `old_status` and `new_status`):
- `NEEDS_SETUP`
- `NEEDS_PROOF`
- `NEEDS_PROOF_WITH_EDITS`
- `IN_REVIEW`
- `REVIEW_COMPLETE`
- `CLOSED`
  • `PROJECT_CREATED` Event - updated when a new project has been created. Returns the project ID and title:

```
{
  "project_id": "TLA-0002",
  "title": "DAM Decisions"
}
```

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Content-type

N/A

Response Type

N/A


GET

Workflow Webhooks: List all Webhooks

Webhooks allow you to subscribe to changes within Acquia Workflow and be updated of these changes as they happen. This is a more convenient and efficient mechanism to receive notification of changes (Events) without using polling.
The API allows you to retrieve a list of all webhook subscriptions, create new subscriptions, and remove existing subscriptions. Event updates are made via an HTTP POST and Workflow currently sends one Event object per POST.

Events supported (and example HTTP POST bodies):

  • `DELIVERABLE_STATUS_CHANGED` Event - updated when a deliverable changes status such as moving from “In Review” to “Needs Proof”:

```
{
  "deliverable_key": "001",
  "old_status": "NEEDS_SETUP",
  "new_status: "NEEDS_PROOF"
}
```

Possible values (for `old_status` and `new_status`):
- `NEEDS_SETUP`
- `NEEDS_PROOF`
- `NEEDS_PROOF_WITH_EDITS`
- `IN_REVIEW`
- `REVIEW_COMPLETE`
- `CLOSED`
  • `PROJECT_CREATED` Event - updated when a new project has been created. Returns the project ID and title:

```
{
  "project_id": "TLA-0002",
  "title": "DAM Decisions"
}
```

Parameters

Parameter Name

Description

headers

N/A

headers.Header Key

N/A

headers.Header Value

N/A

Response Type

N/A