content

Answer an interview question

Answers one of the draft's openQuestions[]. The value type follows the question's kind: a boolean, a single choice, or free text.

Errors

  • 404 NOT_FOUND: no draft with this id in the active Space.
  • 400 VALIDATION_ERROR: unknown questionId or an answer of the wrong type.
post/api/v1/content/{id}/answer

Request

  • Base URL: https://api.growomat.com
  • URL: https://api.growomat.com/api/v1/content/{id}/answer
  • Auth: HTTP bearer

Path parameters

idstring required

The content draft id.

Headers

X-Space-Idstring

The Space to work in, for example spc_8f3aK2. Omit it to use your personal Space. List your Spaces returns the ids. A Space that does not exist returns 404 SPACE_NOT_FOUND; one you are not a member of returns 403 NOT_A_MEMBER.

Request body

questionIdstring required

The id of an entry in the draft's openQuestions.

Response

OK. The result is in data. List responses also carry meta with nextCursor and total.

dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.