Configure (Uploads)

URL:
https://<root>/uploads/config
Methods:
GET
Required Capability:
Access allowed only with the Publisher role
Version Introduced:
10.9

Description

The config resource returns the data store ID and upload path for uploaded items.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

The following is a sample request for the config resource:

Use dark colors for code blocksCopy
1
https://organization.domain.com/context/admin/uploads/config?f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
{
  "dataStoreId": "65e56a57-6f54-4b80-b7b4-57dbf611feb5",
  "uploadPath": "uploads"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.