Get a list of owners for groups in LearnCenter.

get

/learn.rest/v1/learnCenters/{learnCenterId}/groups/{groupId}/owners

Get a list of owners for groups in LearnCenter.

Request

Path Parameters
Query Parameters
  • Specify how many items should be returned in a payload. Must be lower than server default limit size.
  • Specify starting point of the response.
    Default Value: 0
  • If set to true, payload includes the total number of rows that satisfies the request. This parameter determines if the 'last' link is displayed for a pageable collection.
Back to Top

Response

Supported Media Types

200 Response

Group owners collection fetched.
Body ()
Root Schema : GroupOwnersResponse
Type: object
Response object for Group Owners.
Show Source
Example:
{
    "items":[
        {
            "id":112867,
            "links":[
                {
                    "rel":"canonical",
                    "href":"https://{url}/learn.rest/v1/learnCenters/178409/groups/766/owners/112867"
                }
            ]
        }
    ],
    "links":[
        {
            "rel":"canonical",
            "href":"https://{url}/learn.rest/v1/learnCenters/178409/groups/766/owners"
        }
    ]
}
Nested Schema : GroupOwnerLinkItem
Type: object
Link to the list of group owners.
Show Source
Example:
{
    "rel":"canonical",
    "href":"{url}/learn.rest/v1/learnCenter/178409/groups/456/owners/112867"
}
Example Response (application/json)
{
    "items":[
        {
            "id":112867,
            "links":[
                {
                    "rel":"canonical",
                    "href":"https://{url}/learn.rest/v1/learnCenters/178409/groups/766/owners/112867"
                }
            ]
        }
    ],
    "links":[
        {
            "rel":"canonical",
            "href":"https://{url}/learn.rest/v1/learnCenters/178409/groups/766/owners"
        }
    ]
}

401 Response

Authentication refused for provided credentials or token invalid.
Headers

500 Response

Internal server error.
Back to Top