Show suggestion with provided ID
Changed onRetrieves a specific Suggestion by its ID.
Request
- Base URLhttps://yournation.nationbuilder.com
- AuthHTTP bearer
Query parameters
Comma-delimited list of sideloaded resources to include as part of the suggestion response. See guidance here about sideloading large numbers of resources and pagination.
Comma-delimited list of suggestion attributes to only return in the response
Response
The requested suggestion.
Example response
{
"data": {
"id": "1",
"type": "suggestions",
"attributes": {
"content": "We should add more parking spaces downtown",
"external_id": "ext-123",
"headline": "Downtown Parking Improvement",
"official_response": "Thank you for this suggestion. We will consider it in our next planning session.",
"recruiter_id": "1",
"responded_at": "2019-10-26T10:00:00-04:00",
"response_author_id": "1",
"response_type_id": 2,
"slug": "my-page-slug",
"status": "published",
"suggestion_box_id": "123",
"created_at": "2019-10-26T10:00:00-04:00",
"page_id": "1",
"site_id": "123",
"updated_at": "2019-10-26T10:00:00-04:00"
}
},
"included": [
{
"id": "1"
}
]
}Changes
- breaking
for the
queryrequest parameterfields[suggestions], default valuewas added - breaking
for the
queryrequest parameterinclude, default valuewas added - breaking
for the
queryrequest parameterfields[suggestions], the type changed fromstringtoarray - breaking
for the
queryrequest parameterinclude, the type changed fromstringtoarray - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - info
added
subschema #2to the response bodyallOflist for the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/vnd.api+jsonfor the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- info
endpoint added
- info