Folder APIs

APIs for managing Spark folders.

Create folder

post

Folders contain Spark services.

Authorizations
AuthorizationstringRequired

Bearer token can be accessed from the user menu.

Body
NamestringRequired

Folder name.

Example: myfoldername
CategorystringRequired

Folder category. Must be a valid folder category. The category names are managed in Options Folder categories.

Example: Others
DescriptionstringRequired

Folder description.

Example: My folder description
StatusstringRequired

Status of the folder. Design is the default value.

Default: DesignExample: Design
CoverImagestring · binaryOptional

Image file for cover image.

Responses
chevron-right
200

OK

application/json
objectOptional
post
/api/v1/product/create
200

OK

List folders

post

Returns folders that match the search filter. If using an API key, the API key group must contain user groups that are also assigned to Spark.FolderList.json or Spark.AllEncompassingProxy.json.

Authorizations
AuthorizationstringRequired

Bearer token can be accessed from the user menu.

Body
pageinteger · min: 1Optional

Page number of the list to get.

pageSizeinteger · min: 1Optional

Number of records per page.

sortstring · nullableOptional

String defining the sort order

Example: `-updated`
Responses
chevron-right
200

OK

application/json
objectOptional
post
/api/v1/product/list
200

OK

Get folder

get

Get folder details.

Authorizations
AuthorizationstringRequired

Bearer token can be accessed from the user menu.

Path parameters
folderstringRequired

Folder associated with the API call.

Example: myfoldername
Query parameters
noOfCalculationEnginesinteger · min: 1Optional

Number of services to include in the response.

Example: 5
Responses
chevron-right
200

OK

application/json
objectOptional
get
/api/v1/product/getproduct/{folder}
200

OK

Update folder

post

Update folder details including category or description.

Authorizations
AuthorizationstringRequired

Bearer token can be accessed from the user menu.

Path parameters
folderIdstring · uuidRequired

Folder id which can be found from List folders or Get folder.

Example: 9efb97d3-59b5-4ab1-b138-525797d58a91
Body
categorystringOptional

Folder category. Must be a valid folder category. The category names are managed in Options Folder categories.

descriptionstringOptional

Folder description.

shouldTrackUserActionbooleanOptionalDefault: true
Responses
chevron-right
200

OK

application/json
objectOptional
post
/api/v1/product/update/{folderId}
200

OK

Delete folder

delete

Delete folder including all documents and services.

Authorizations
AuthorizationstringRequired

Bearer token can be accessed from the user menu.

Path parameters
folderIdstring · uuidRequired

Folder id which can be found from List folders or Get folder.

Example: 9efb97d3-59b5-4ab1-b138-525797d58a91
Responses
chevron-right
200

OK

application/json
objectOptional
delete
/api/v1/product/delete/{folderId}
200

OK

Last updated