Find an object by path

post/paths
Internal-Use Only

Find an object, if it exists, by path. The client provides an ordered list of parent folder names, the object name, and the object content type.

Request Samples

1

Response Samples

1{
2 "creationTimeStamp": "2022-06-17T16:37:34.817185Z",
3 "createdBy": "sas.themes",
4 "modifiedTimeStamp": "2022-06-17T16:37:34.817186Z",
5 "modifiedBy": "sas.themes",
6 "version": 2,
7 "id": "6d252540-07d7-49ef-b508-b3b7d9a505f1",
8 "name": "SAS Theme Designer",
9 "description": "SAS Theme Designer folder",
10 "type": "folder",
11 "links": [
12 {
13 "method": "GET",
14 "rel": "self",
15 "href": "/folders/folders/6d252540-07d7-49ef-b508-b3b7d9a505f1",
16 "uri": "/folders/folders/6d252540-07d7-49ef-b508-b3b7d9a505f1",
17 "type": "application/vnd.sas.content.folder"
18 },
19 {
20 "method": "GET",
21 "rel": "alternate",
22 "href": "/folders/folders/6d252540-07d7-49ef-b508-b3b7d9a505f1",
23 "uri": "/folders/folders/6d252540-07d7-49ef-b508-b3b7d9a505f1",
24 "type": "application/vnd.sas.summary"
25 }
26 ]
27}

Request Body

The set of parent names, the object name, and the object content type.

A representation of a path request.

NameTypeRequiredDescription
items
array [string]
false

An ordered list of parent folder names, with the desired object's name at the end of the list.

contentType
string
false

The content type of the object to return. Must match the content type of the Member entry.

typeDefName
string
false

The type definition name of the member being requested.

version
integer
false

This media type's schema version number. This representation is version 1.

Responses

StatusMeaningDescription
200OKThe object was found and returned as a summary object.Schema
400Bad RequestThe request was invalid. The request body was malformed or is absent.Schema
404Not FoundNo object with the specified type exists at the requested path.Schema