Get a set of namespaces

get/contents
Internal-Use Only

Returns a set of namespaces Acceptapplication/vnd.sas.collection+json Accept-Itemapplication/vnd.sas.localization.content.namespace+json

Request Samples

1

Response Samples

1{
2 "accept": "string",
3 "count": 0,
4 "items": [
5 {
6 "links": [
7 {
8 "href": "string",
9 "itemType": "string",
10 "method": "string",
11 "rel": "string",
12 "responseItemType": "string",
13 "responseType": "string",
14 "title": "string",
15 "type": "string",
16 "uri": "string"
17 }
18 ],
19 "namespace": "string",
20 "version": 1
21 }
22 ],
23 "limit": 0,
24 "links": [
25 {
26 "href": "string",
27 "itemType": "string",
28 "method": "string",
29 "rel": "string",
30 "responseItemType": "string",
31 "responseType": "string",
32 "title": "string",
33 "type": "string",
34 "uri": "string"
35 }
36 ],
37 "name": "string",
38 "start": 0,
39 "version": 1
40}

Query Parameters

NameTypeRequiredDescription
filter
string
false

Query filter, supported field is namespace.

limit
integer<int32>
false

Maximum number of items to retrieve. Defaults to 30.

Default:
30
sortBy
string
false

Optional sorting instruction, supported field is namespace.

Default:
namespace:ascending
start
integer<int32>
false

Offset of first item to retrieve (0-based). Defaults to 0.

Default:
0

Header Parameters

NameTypeRequiredDescription
Accept
string
true

The application/vnd.sas.collection+json is used to get the list of namespaces.

Allowed values:
application/jsonapplication/vnd.sas.collection+json
Accept-Item
string
true

Requested media type for collection of message bundles.

Allowed values:
application/jsonapplication/vnd.sas.localization.content.namespace+json

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema