Questions: List
Retrieve a list of Questions within an account.
path Parameters
accountId required | string |
query Parameters
v required | string A date in | ||||||||||||||||||||||
filter | string This parameter represents one or more filtering conditions that are applied to the set of entities that would otherwise be returned. This parameter should be provided as a URL-encoded string containing a JSON object. For example, if the filter JSON is Supported filters
Basic Filter Structure The filter object at its core consists of a matcher, a field, and an argument. For example, in the following filter JSON:
Combining Multiple Filters Multiple filters can be combined into one object using combinators. For example, the following filter JSON combines multiple filters using the combinator
Filter Negation Certain filter types may be negated. For example:
This can also be written more simply with a
TEXT The
BOOLEAN The BOOLEAN filter type is supported for boolean fields and Yes / No fields.
INTEGER, FLOAT, DATE, DATETIME, and TIME These filter types are strictly ordered -- therefore, they support the following matchers:
| ||||||||||||||||||||||
limit | integer <= 50 Default: 10 Number of results to return. | ||||||||||||||||||||||
offset | integer Default: 0 Number of results to skip. Used to page through results.
Cannot be used together with | ||||||||||||||||||||||
pageToken | string If a response to a previous request contained the |
Responses
Response samples
- 201
- default
{- "meta": {
- "uuid": "4f72b877-e2d0-4de4-9324-b9cf2c03e1a0"
}, - "response": {
- "count": 0,
- "pageToken": "string",
- "questions": [
- {
- "id": "string",
- "entityIds": [
- "string"
], - "accountId": "string",
- "publisherId": "string",
- "authorName": "string",
- "authorEmail": "string",
- "authorPhotoUrl": "string",
- "authorType": "REGULAR_USER",
- "language": "string",
- "upvoteCount": 0,
- "content": "string",
- "description": "string",
- "createTime": 0,
- "updateTime": 0,
- "answerCount": 0,
- "answers": [
- {
- "id": 0,
- "authorName": "string",
- "authorPhotoUrl": "string",
- "authorType": "REGULAR_USER",
- "upvoteCount": 0,
- "content": "string",
- "createTime": 0,
- "updateTime": 0
}
]
}
]
}
}
Question: Get
Retrieve information for a Question
path Parameters
accountId required | string |
questionId required | integer ID of this Question. |
query Parameters
v required | string A date in |
Responses
Response samples
- 201
- default
{- "meta": {
- "uuid": "4f72b877-e2d0-4de4-9324-b9cf2c03e1a0"
}, - "response": {
- "id": "string",
- "entityIds": [
- "string"
], - "accountId": "string",
- "publisherId": "string",
- "authorName": "string",
- "authorEmail": "string",
- "authorPhotoUrl": "string",
- "authorType": "REGULAR_USER",
- "language": "string",
- "upvoteCount": 0,
- "content": "string",
- "description": "string",
- "createTime": 0,
- "updateTime": 0,
- "answerCount": 0,
- "answers": [
- {
- "id": 0,
- "authorName": "string",
- "authorPhotoUrl": "string",
- "authorType": "REGULAR_USER",
- "upvoteCount": 0,
- "content": "string",
- "createTime": 0,
- "updateTime": 0
}
]
}
}
Answer: Create
Creates a new Answer on a Question.
path Parameters
accountId required | string |
questionId required | integer ID of this Question. |
query Parameters
v required | string A date in |
Request Body schema: application/json
content | string The answer text. |
Responses
Request samples
- Payload
{- "content": "string"
}
Response samples
- 201
- default
{- "meta": {
- "uuid": "4f72b877-e2d0-4de4-9324-b9cf2c03e1a0"
}, - "response": {
- "id": 0,
- "content": "string"
}
}
Answer: Update
Updates an Answer for a Question
path Parameters
accountId required | string |
questionId required | integer ID of this Question. |
answerId required | integer ID of this Answer. |
query Parameters
v required | string A date in |
Request Body schema: application/json
content | string The answer text. |
Responses
Request samples
- Payload
{- "content": "string"
}
Response samples
- 201
- default
{- "meta": {
- "uuid": "4f72b877-e2d0-4de4-9324-b9cf2c03e1a0"
}, - "response": {
- "id": 0,
- "content": "string"
}
}
Answer: Delete
Deletes an Answer for a Question
path Parameters
accountId required | string |
questionId required | integer ID of this Question. |
answerId required | integer ID of this Answer. |
query Parameters
v required | string A date in |
Responses
Response samples
- 200
- default
{- "meta": {
- "uuid": "4f72b877-e2d0-4de4-9324-b9cf2c03e1a0"
}, - "response": { }
}