cURL
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.
object