Date: Fri, 29 Mar 2024 10:23:51 +0000 (UTC) Message-ID: <1037983961.11813.1711707831701@catch-kbase-p> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_11812_1806032677.1711707831700" ------=_Part_11812_1806032677.1711707831700 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Script Package resource
This resource supports the following methods: GET
Retrieves the children of the script package.
This method supports the OData parameters $filter, $top, $take, $orderby= and $inlinecount. See OData Topic for more details.
For more details on expansions, please see the Expand help topic.
These are the expected status codes returned by the service. In addition= , some other status codes may be returned if either an internal error occur= s or there is an authentication issue (such as an expired OAuth token).
Status | Description |
---|---|
200 - OK | Returned if the request was completed successful= ly. |
403 - Forbidden | Returned if the user does not have permission to= create script packages in the target project. |
404 - NotFound | Returned if the package does not exist. |
An example of getting all child packages for the package.
Request Headers
Key | Value | Description |
---|---|---|
Accept | application/json |
Request Parameters
Key | Value | Description |
---|---|---|
{id} | 4bb709c2-e0e7-4af3-9f60-a045016a9610 | The GUID Identifier of the package to get childr= en for. |
Response Headers
Key | Value | Description |
---|---|---|
Content-Type | application/json; charset=3Dutf-8 |
Response Body
{ "Items": [ { "Id": "2d33ee96-7634-4363-891f-d90a15709bb9", "ParentId": "4bb709c2-e0e7-4af3-9f60-a045016a9610", "Name": "Cycle 1", "OrderNumber": 1, "Expands": [ "Children", "Parent", "Project" ], "Self": "http://localhost/api/scriptpackage/2d33ee96-7634-4363-891f-d= 90a15709bb9", "Links": [ { "Href": "http://localhost/api/scriptpackage/2d33ee96-7634-4363-89= 1f-d90a15709bb9/children", "Rel": "Children" }, { "Href": "http://localhost/api/scriptpackage/4bb709c2-e0e7-4af3-9f= 60-a045016a9610", "Rel": "Parent" } ] }, { "Id": "ed07f8a1-3ffa-4f25-bc28-0dae55650205", "ParentId": "4bb709c2-e0e7-4af3-9f60-a045016a9610", "Name": "Cycle 2", "OrderNumber": 2, "Expands": [ "Children", "Parent", "Project" ], "Self": "http://localhost/api/scriptpackage/ed07f8a1-3ffa-4f25-bc28-0= dae55650205", "Links": [ { "Href": "http://localhost/api/scriptpackage/ed07f8a1-3ffa-4f25-bc= 28-0dae55650205/children", "Rel": "Children" }, { "Href": "http://localhost/api/scriptpackage/4bb709c2-e0e7-4af3-9f= 60-a045016a9610", "Rel": "Parent" } ] } ] }
Status Code
200 - OK