Developers
V1SocialClubsClubidPosts

/v1/social/clubs/{clubId}/posts

POST
/v1/social/clubs/{clubId}/posts
AuthorizationBearer <token>

In: header

Path Parameters

clubId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/social/clubs/497f6eca-6276-4993-bfeb-53cbbbba6f08/posts" \  -H "Content-Type: application/json" \  -d '{    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "body": "string",    "expectedVersion": 0,    "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969"  }'
{  "post": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "clubId": "4836dcb0-4b52-43b6-8d75-7f08a8fbf3a0",    "own": true,    "author": {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "alias": "string"    },    "body": "string",    "revision": 1,    "status": "draft",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  },  "replayed": true}