Fetch an Idea's status using its unique identifier.
You can retrieve the status for an individual Idea using its id
and the ideaTopicMessage
query.
Requirements
A normal user can retrieve Idea statuses for any ideas that are visible to them. If an idea's visible label is set to false, only an Administrator or user with the Manage ideas and comments permissions set to Grant can query the idea.
Example
In the example below, we are fetching the status for an idea identified by its unique id
.
query {
message(id: "message:45") {
... on IdeaTopicMessage {
status {
description
text
label {
color
type
}
}
}
}
}
We have requested group, status, and label information for each Idea in the node. You can see an example result below:
{
"data": {
"message": {
"status": {
"description": "Idea has been accepted by the team",
"text": "Accepted",
"label": {
"color": "000000",
"type": "OUTLINE"
}
}
}
}
}
ATLAS
Comments