Use this endpoint to retrieve the status of one or more files uploaded to the Library using the Add File Multipart POST endpoint.
Click a method to view its documentation
Privileges required: mylibrary:file:read
Retrieve the upload status for one or more MyLibrary files using the fileId
path parameter; separate multiple fileId's with a comma. If the fileId
provided does not match any files in the MyLibrary account, the call returns a null set.
Privileges required: N/A
Retrieve MyLibrary product usage information for the authorized Constant Contact account.
Privileges required: mylibrary:file:read
Retrieve all files in the Trash folder. You can specify the type of files to retrieve using the type
query parameter. You can sort the output using the sort_by
query parameter.
Privileges required: mylibrary:folder:read
Retrieve a specific MyLibrary folder using the folderId
path parameter.
Privileges required: mylibrary:file:read
Retrieve a list of MyLibrary folders and their properties for the authorized Constant Contact account. MyLibrary supports a folder hierarchy with 3 levels of nesting. Primary, child (2nd level) and grandchild (3rd level) folders all have the same properties associated with them. This endpoint returns an empty results array if there are no folders in the user's account.
Privileges required: mylibrary:file:read
The following options are available when retrieving Library files:
api_key
)type
query parameter (ALL, IMAGE, or Document)source
query parametertype
and source
query parametersThere are many options available for sorting the JSON response using the sort_by
query parameter.
Privileges required: mylibrary:file:read
Retrieve a MyLibrary file using the fileId
path parameter.
Privileges required: mylibrary:file:read
Get a list of all files in a Library folder specified by the folderId
path parameter.
GET: https://api.constantcontact.com/v2/library/files/uploadstatus/{fileId} |
|||
name |
type |
default |
description |
---|---|---|---|
api_key |
query |
REQUIRED; The API key for the application |
|
fileId |
path |
Specifies the files for which to retrieve upload status information |
code |
description |
---|---|
200 |
Request was successful |
401 |
Authentication failure |
404 |
The supplied url was not found |
406 |
Unsupported Accept Header value, must be application/json |
500 |
Internal server error occurred |
property |
type(max length) |
description |
---|
[ { "file_id": "9", "status": "Active", "description":"Active" }, { "file_id": "8", "status": "Uploaded", "description":"Uploaded" }, { "file_id": "18", "status": "Processing", "description":"Processing" } ]