Get user-defined properties for a project

get/projects/{projectId}/userProperties

Returns the user-defined properties for the specified project.

Request Samples

1

Response Samples

1{
2 "version": 2,
3 "accept": "application/json",
4 "count": 22,
5 "start": 0,
6 "limit": 20,
7 "name": "userProperties",
8 "items": [
9 {
10 "name": "keyA",
11 "value": "valueB",
12 "type": "string"
13 },
14 {
15 "name": "keyB",
16 "value": "valueA",
17 "type": "string"
18 },
19 {
20 "name": "priority",
21 "value": "high",
22 "type": "string"
23 },
24 {
25 "name": "priority2",
26 "value": "high",
27 "type": "string"
28 }
29 ],
30 "links": [
31 {
32 "method": "GET",
33 "rel": "collection",
34 "href": "/modelRepository/projects/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties",
35 "uri": "/modelRepository/projects/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties",
36 "type": "application/vnd.sas.collection",
37 "itemType": "application/json"
38 },
39 {
40 "method": "GET",
41 "rel": "next",
42 "href": "/modelRepository/projects/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties?start=20&limit=20&filter=eq%28projectId%2C+%27aaf8ff18-8c32-4772-8e47-40876cafbff7%27%29",
43 "uri": "/modelRepository/projects/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties?start=20&limit=20&filter=eq%28projectId%2C+%27aaf8ff18-8c32-4772-8e47-40876cafbff7%27%29",
44 "type": "application/vnd.sas.collection",
45 "itemType": "application/json"
46 },
47 {
48 "method": "GET",
49 "rel": "self",
50 "href": "/modelRepository/projects/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties?start=0&limit=20&filter=eq%28projectId%2C+%27aaf8ff18-8c32-4772-8e47-40876cafbff7%27%29",
51 "uri": "/modelRepository/projects/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties?start=0&limit=20&filter=eq%28projectId%2C+%27aaf8ff18-8c32-4772-8e47-40876cafbff7%27%29",
52 "type": "application/vnd.sas.collection",
53 "itemType": "application/json"
54 },
55 {
56 "method": "POST",
57 "rel": "create",
58 "href": "/modelRepository/projects/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties",
59 "uri": "/modelRepository/projects/aaf8ff18-8c32-4772-8e47-40876cafbff7/userProperties",
60 "type": "application/json"
61 }
62 ]
63}

Path Parameters

NameTypeRequiredDescription
projectId
string
true

The unique identifier for the project.

Query Parameters

NameTypeRequiredDescription
filter
string<filter-criteria>
false

The criteria for filtering the user-defined properties.

limit
integer<int32>
false

The maximum number of items to return in this request.

Default:
20
name
string
false

Filter by property name.

start
integer<int32>
false

The 0-based start index of a paginated request.

>= 0
Default:
0

Header Parameters

NameTypeRequiredDescription
If-None-Match
string
false

The entity tag obtained from the most recent ETag response header.

Responses

StatusMeaningDescription
200OK

The request succeeded.

HeadersSchema
404Not Found

No project exists at the requested path.

Schema