Authorizations
Path Parameters
Community ID
Body
application/json
The name of the file (must include file extension)
Response
200 - application/json
File created successfully
The response is of type object.
curl --request POST \
--url https://api.op.xyz/v1/community/{id}/file \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"name": "<string>"
}'{}curl --request POST \
--url https://api.op.xyz/v1/community/{id}/file \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"name": "<string>"
}'{}Community ID
The name of the file (must include file extension)
File created successfully
The response is of type object.