User
Toggle pin
Changed onThis mutation has no request body.
post/api/v1/user/segments/{id}/pin
Request
- Base URLhttps://openmercantil.es
- AuthAPI key in cookie ob_sess
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Headers
X-CSRF-Tokenstring required
Fresh token returned by GET /api/v1/user/me for this authenticated session.
Response
New pinned state
Changes
- breaking
added the new required
headerrequest parameterX-CSRF-Token - warning
for the
pathrequest parameterid, the min was set to1.00 - info
api operation id
postUserSegmentsByIdPinwas added - info
added the media type
application/jsonfor the response with the 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