Skip to main content

List Stories

Retrieve the list of all stories in the specified channel within a team.

GET odata/story
--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]

URL Endpoint

odata/story

Method

GET.

Parameters

This method supports the $filter and $select OData Filter to help customize the response.

Request

Header

--x-appvity-channelId: [ChannelID]
--x-appvity-teamid: [TeamID]
--Cookie: graphNodeCookie=[ID]

Body

This method does not supply the request body.

Response

If successful, this method returns a 200 OK response code and the list of priorities object in the response body.

{
"@odata.context": "https://schema.appvity.com/odata/$metadata#story",
"value": [
{
"_id": "[StoryID]",
"name": "[StoryName]",
"description": "[StoryDescription]",
"updatedAt": "[UpdatedTime]",
"createdAt": "[CreatedTime]"
}
]
}

Example

{
"@odata.context": "https://schema.appvity.com/odata/$metadata#story",
"value": [
{
"_id": "5f62dad84d596392f54d2214",
"name": "Story 1",
"description": "",
"createdAt": "2020-09-17T03:41:12.158Z",
"updatedAt": "2020-09-17T03:41:12.158Z"
}
]
}