Questions

Questions asked by data consumers and their associated answers in the workspace. Learn more about questions here.

List Questions

get
/api/v1/question/questions

This endpoint allows you to retrieve a list of questions.

Authorizations
Responses
200

List of questions.

application/json
get
/api/v1/question/questions

Create Question

post
/api/v1/question/questions

This endpoint allows you to create a new question. The answer to the question can be set in the answer field, or added as a reply to the question/replies endpoint.

Authorizations
Body
Responses
post
/api/v1/question/questions

Get Question

get
/api/v1/question/questions/{question_id}

This endpoint allows you to retrieve a question by its unique identifier (question_id).

Authorizations
Path parameters
question_idstringRequired

The unique identifier of the question

Example: 7795133a-6e36-4ef2-b95a-664babb99b71
Responses
200

Question retrieved successfully

application/json
get
/api/v1/question/questions/{question_id}

Delete Question

delete
/api/v1/question/questions/{question_id}

This endpoint allows you to delete a question by its unique identifier (question_id).

Authorizations
Path parameters
question_idstringRequired

The unique identifier of the question to delete

Example: 4272310f-0129-4982-8849-4b20edd3f2d5
Responses
delete
/api/v1/question/questions/{question_id}

No content

Edit Question

patch
/api/v1/question/questions/{question_id}

This endpoint allows you to edit the metadata of a question by its unique identifier (question_id).

Authorizations
Path parameters
question_idstringRequired

The unique identifier of the question to edit

Example: 7795133a-6e36-4ef2-b95a-664babb99b71
Body
descriptionstringOptional

A description of the resource.

Example: This is a description for a sample table.
definitionstringOptional

Mark down documentation to be added to the resource.

Example: \n# Castae illa\n\n## Finemque aequore\n\nLorem markdownum motus
piibooleanOptional

Indicates whether the resource contains personally identifiable information (PII). Values can be - True False

Example: false
verifiedbooleanOptional

Indicates whether the table has been set as verified. Values can be - True False

Example: true
publishedbooleanOptional

Indicates if the resource is visible to viewers or not. Values can be - True False

Example: true
teamsstring[]Optional

A list of team IDs that the resource belongs to.

Example: ["e8ac09ed-e51e-4e61-8eaf-59942c98c260","cca810f1-11c1-4117-bc23-20ae8020897f"]
ownersstring[]Optional

A list of owner user IDs for the resource.

Example: ["33733f42-8ff7-460b-9e20-50a2133d3bb0","c90dedee-40ee-47ec-9c27-96dc3b2ec363"]
collectionsstring[]Optional

A list of collection IDs the resource belongs to.

Example: ["3b2c7185-fb5d-4d94-89d4-3dae08e093a9"]
tagsstring[]Optional

A list of tag IDs associated with the resources.

Example: ["04654d61-4f64-4f08-b697-3915b5137c49","429693a2-a5e7-4525-b413-ece5e96bc5b3"]
subscribersstring[]Optional

A list of the added user IDs that have been subscribed to the resource. Anyone subscribed will be notified of any changes.

Example: ["c90dedee-40ee-47ec-9c27-96dc3b2ec363"]
Responses
200

Definition updated successfully

application/json
patch
/api/v1/question/questions/{question_id}

List Question Replies

get
/api/v1/question/replies

This endpoint allows you to retrieve a list of replies. You can optionally filter the replies by question_id using the "question_id" query parameter.

Authorizations
Query parameters
question_idstringOptional

Filter replies by question_id (optional)

Example: 7795133a-6e36-4ef2-b95a-664babb99b71
Responses
200

List of replies.

application/json
get
/api/v1/question/replies

Create Question Reply

post
/api/v1/question/replies

This endpoint allows you to create a new reply to a specified question (indicated by the parent_id).

Authorizations
Body
definitionstringOptional

The answer of the reply

Example: Replying to the question
accepted_answerbooleanOptional

Indicates if the answer is accepted or not. Values can be - True False

Example: false
parentstringOptional

The unique identifier of the parent question

Example: 7795133a-6e36-4ef2-b95a-664babb99b71
ownersstring[]Optional

Defines the UUIDs that are the owners of the replies.

Example: 33733f42-8ff7-460b-9e20-50a2133d3bb0
Responses
post
/api/v1/question/replies

Get Question Reply

get
/api/v1/question/replies/{reply_id}

This endpoint allows you to retrieve a reply by its unique identifier (reply_id).

Authorizations
Path parameters
reply_idstringRequired

The unique identifier of the reply

Example: 47f9d5ab-4ae1-4eea-a8b8-6d3847829b3f
Responses
200

Reply retrieved successfully

application/json
get
/api/v1/question/replies/{reply_id}

Delete Question Reply

delete
/api/v1/question/replies/{reply_id}

This endpoint allows you to delete a reply by its unique identifier (reply_id).

Authorizations
Path parameters
reply_idstringRequired

The unique identifier of the reply to delete

Example: 47f9d5ab-4ae1-4eea-a8b8-6d3847829b3f
Responses
delete
/api/v1/question/replies/{reply_id}

No content

Edit Question Reply

patch
/api/v1/question/replies/{reply_id}

This endpoint allows you to edit the content of a reply by its unique identifier (reply_id). You can also use this endoint to set this reply as the accepted answer.

Authorizations
Path parameters
reply_idstringRequired

The unique identifier of the reply to edit

Example: 47f9d5ab-4ae1-4eea-a8b8-6d3847829b3f
Body
definitionstringOptional

The updated definition for the reply

Example: Changing the answer.
accepted_answerbooleanOptional

Indicates if the answer is accepted or not. Values can be - True False

Example: false
Responses
200

Definition updated successfully

application/json
patch
/api/v1/question/replies/{reply_id}

Last updated

Was this helpful?