Skip to main content
Skip table of contents

6.6 Favorites Service

6.6.1 PUT Folder to Favorites

Url

[ThruWebServer]/REST/[version]/Favorites/Folder/[FolderId]

Verb

PUT

Required HTTP Headers

Accept: (application/xml or application/json)

Description

Add folder with the specified id to favorites.

Request Body

None

Return Data Object

None

Invocation Scenario(s)

Mark folder whose ID is specified in URL as favorite

Remarks

6.6.2 DELETE Folder from Favorites

Url

[ThruWebServer]/REST/[version]/Favorites/Folder/[FolderId]

Verb

DELETE

Required HTTP Headers

Accept: (application/xml or application/json)

Description

Remove folder with the specified ID from favorites.

Request Body

None

Return Data Object

None

Invocation Scenario(s)

Remove folder whose ID is specified in URL from favorites

Remarks

6.6.3 PUT File to Favorites

Url

[ThruWebServer]/REST/[version]/Favorites/File/[FileId]

Verb

PUT

Required HTTP Headers

Accept: (application/xml or application/json)

Description

Add file with the specified ID to favorites.

Request Body

None

Return Data Object

None

Invocation Scenario(s)

Mark file whose ID is specified in URL as favorite.

Remarks

6.6.4 DELETE File from Favorites

Url

[ThruWebServer]/REST/[version]/Favorites/File/[FileId]

Verb

DELETE

Required HTTP Headers

Accept: (application/xml or application/json)

Description

Remove file with the specified ID from favorites.

Request Body

None

Return Data Object

None

Invocation Scenario(s)

Remove file whose ID is specified in URL from favorites.

Remarks

6.6.5 GET All Content in Favorites

Url

[ThruWebServer]/REST/[version]/Favorites/Content

Verb

GET

Required HTTP Headers

Accept: (application/xml or application/json)

Description

Retrieves a collection of file and folder information structures marked as favorites. Result can be filtered by options.

Request Body

Return Data Object

ThruPublicContentResult object

Invocation Scenario(s)

Get a full content in favorites.
Get files in favorites.
Get folders in favorites.

Remarks

6.6.6 GET Files in Favorites

Url

[ThruWebServer]/REST/[version]/Favorites/Content/Files

Verb

GET

Required HTTP Headers

Accept: (application/xml or application/json)

Description

Retrieves a collection of file information structures marked as favorites. Result can be filtered by options.

Request Body

Return Data Object

ThruPublicContentResult object

Invocation Scenario(s)

Get files in favorites.

Remarks

6.6.7 GET Folders in Favorites

Url

[ThruWebServer]/REST/[version]/Favorites/Content/Folders

Verb

GET

Required HTTP Headers

Accept: (application/xml or application/json)

Description

Retrieves a collection of folder information structures marked as favorites. Result can be filtered by options.

Request Body

Return Data Object

ThruPublicContentResult object

Invocation Scenario(s)

Get folders in favorites.

Remarks

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.