Toggle a post as the thread solution
Changed onToggle a post as the thread solution. If a post is marked as a solution when another is already marked, the existing solution will be unmarked.
Request
- Base URLhttps://example.com/api
- Auth
- OAuth 2Authorization codehttps://example.com/oauth2/authorizeToken URLhttps://example.com/api/oauth2/tokenScopesthread:write
- or API key in header XF-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
OK
Changes
- warning
deleted the
pathrequest parameterid - warning
removed the optional property
from the response with the status - info
api operation id
post_posts_id_mark_solutionremoved and replaced withpostPostsIdMarkSolution - info
the endpoint scheme security
XF-Api-Keywas added to the API - info
the endpoint scheme security
XF-OAuth2was added to the API - info
added the new optional
headerrequest parameterXF-Api-Userto all path's operations - info
added the new optional
queryrequest parameterapi_bypass_permissionsto all path's operations - info
added the optional property
to the response with the status
- warning
- breaking
added the new path request parameter
id - warning
the optional response header
XF-Latest-Api-Versionremoved for the status200 - warning
the optional response header
XF-Request-Userremoved for the status200 - warning
the optional response header
XF-Request-User-Extrasremoved for the status200 - warning
the optional response header
XF-Used-Api-Versionremoved for the status200 - warning
removed the optional property
from the response with the status - info
api operation id
postPostsIdMarkSolutionremoved and replaced withpost_posts_id_mark_solution - info
the endpoint scheme security
XF-Api-Keywas removed from the API - info
the endpoint scheme security
XF-OAuth2was removed from the API - info
added the optional property
to the response with the status
- breaking