Spaces

Save the user's code review mode

Save the mode the user asked for. Set expectedRevision to the revision you read. Do not choose a mode for the user.

put/v1/spaces/{spaceId}/work-mode

Request

  • Base URL: https://api.spacefast.com
  • URL: https://api.spacefast.com/v1/spaces/{spaceId}/work-mode
  • Auth: HTTP bearer

Path parameters

spaceIdstring required

Request body

mode'vibe' | 'code' required

The mode selected by the user. Vibe it hides routine code review.

expectedRevisioninteger required

Revision read with getSpaceWorkMode. Use zero when no choice is saved.

Response

Response for status 200

$schemastring uri

Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.

Changes

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