Get a portal with the specified ID.
string
RequiredReturns the requested portal.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/servicedeskapi/portals/{portalId}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
{
"description": "<string>",
"id": 2154,
"name": "<string>",
"get_links": {
"self": "<string>"
}
}
Get a portal for the project by key.
string
RequiredReturns the requested portal.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/servicedeskapi/portals/project/{projectKey}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
{
"description": "<string>",
"id": 2154,
"name": "<string>",
"get_links": {
"self": "<string>"
}
}
Get all portals. Returns a maximum of 50 portals per page.
number
number
Returns a page of portals.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/servicedeskapi/portals' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"_expands": [
"<string>"
],
"size": 1,
"start": 0,
"limit": 50,
"isLastPage": true,
"_links": {
"base": "<string>",
"context": "<string>",
"next": "<string>",
"prev": "<string>",
"self": "<string>"
},
"values": [
{
"description": "<string>",
"id": 2154,
"name": "<string>",
"get_links": {
"self": "<string>"
}
}
]
}
Rate this page: