Resources
Create a resource
Changed onCreate a resource.
post/resources/
Request
- Base URLhttps://example.com/api
- Auth
- OAuth 2Authorization codehttps://example.com/oauth2/authorizeToken URLhttps://example.com/api/oauth2/tokenScopesresource:write
- or API key in header XF-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body application/x-www-form-urlencoded
Response
OK
Changes
- breaking
request body became required
- breaking
removed the media type
application/jsonfrom the request body - breaking
the
response's property type changed fromstringtobooleanfor status - warning
removed the request property
- info
api operation id
post_resources_removed and replaced withpostResources - 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
- breaking
- info
api tag
Resourcesadded - info
api tag
resourcesremoved - info
added optional request body
- info
added the media type
application/jsonfor the response with the status
- info