LE-KO Feed Posts (v1.0.3)

Download OpenAPI specification:

LE-KO Feed Posts

posts

Posts

.../posts.get

✨ Get specific user's posts and followed by specific user posts

Authorizations:
bearerHttpAuthentication
path Parameters
userId
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

query Parameters
page
integer (PageNumber) >= 0
Default: 0
Example: page=0

Page number

limit
integer (PageLimit) [ 1 .. 100 ]
Default: 10
Example: limit=10

Page limit

header Parameters
x-current-user-id
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

traceparent
string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-...
Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01

W3C Trace Context traceparent header for request tracing

Request Body schema: application/json
required
recommendedPostIds
required
Array of strings <uuid> [ items <uuid > ]
followedUserIds
required
Array of strings <uuid> (UserId) [ items <uuid > ]

Followed User IDs

Responses

Response Schema: application/json
Array of objects
Array
postId
required
string <uuid> (PostId)

Post ID

userId
required
string <uuid> (UserId)

User ID

object (Location)
text
required
string
likeCount
required
integer
commentCount
required
integer
photoCount
required
integer
likedByUser
required
boolean
commentedByUser
required
boolean
edited
required
boolean
hidden
required
boolean
required
Array of objects (Photo)
required
Array of objects (PostMention)
createdAt
required
string <date-time> (DateTime)

Date and time in RFC-3339

updatedAt
required
string <date-time> (DateTime)

Date and time in RFC-3339

count
required
integer (Count)

Page entries count

currentPage
integer (CurrentPage) >= 0
Deprecated
Default: 0

Current page

page
required
integer (PageNumber) >= 0
Default: 0

Page number

pageSize
integer (PageSize) [ 1 .. 100 ]
Deprecated
Default: 10

Page size

limit
required
integer (PageLimit) [ 1 .. 100 ]
Default: 10

Page limit

total
required
integer (TotalCount) >= 0
Default: 0

Total count

Request samples

Content type
application/json
{
  • "recommendedPostIds": [
    • "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    ],
  • "followedUserIds": [
    • "00000000-0000-1000-9000-55f01dda9dd0"
    ]
}

Response samples

Content type
application/json
{
  • "data": [
    • {
      • "postId": "00000000-0000-1000-9000-510d9bb07630",
      • "userId": "00000000-0000-1000-9000-55f01dda9dd0",
      • "location": {
        },
      • "text": "string",
      • "likeCount": 0,
      • "commentCount": 0,
      • "photoCount": 0,
      • "likedByUser": true,
      • "commentedByUser": true,
      • "edited": true,
      • "hidden": true,
      • "photos": [
        ],
      • "mentions": [
        ],
      • "createdAt": "2024-11-29T12:09:53+00:00",
      • "updatedAt": "2024-11-29T12:09:53+00:00"
      }
    ],
  • "count": 10,
  • "currentPage": 0,
  • "page": 0,
  • "pageSize": 10,
  • "limit": 10,
  • "total": 1000
}

.../posts

✨ Get all User Posts

Authorizations:
bearerHttpAuthentication
path Parameters
userId
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

query Parameters
page
integer (PageNumber) >= 0
Default: 0
Example: page=0

Page number

limit
integer (PageLimit) [ 1 .. 100 ]
Default: 10
Example: limit=10

Page limit

header Parameters
x-current-user-id
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

traceparent
string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-...
Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01

W3C Trace Context traceparent header for request tracing

Responses

Response Schema: application/json
Array of objects
Array
postId
required
string <uuid> (PostId)

Post ID

userId
required
string <uuid> (UserId)

User ID

object (Location)
text
required
string
likeCount
required
integer
commentCount
required
integer
photoCount
required
integer
likedByUser
required
boolean
commentedByUser
required
boolean
edited
required
boolean
hidden
required
boolean
required
Array of objects (Photo)
required
Array of objects (PostMention)
createdAt
required
string <date-time> (DateTime)

Date and time in RFC-3339

updatedAt
required
string <date-time> (DateTime)

Date and time in RFC-3339

count
required
integer (Count)

Page entries count

currentPage
integer (CurrentPage) >= 0
Deprecated
Default: 0

Current page

page
required
integer (PageNumber) >= 0
Default: 0

Page number

pageSize
integer (PageSize) [ 1 .. 100 ]
Deprecated
Default: 10

Page size

limit
required
integer (PageLimit) [ 1 .. 100 ]
Default: 10

Page limit

total
required
integer (TotalCount) >= 0
Default: 0

Total count

Response samples

Content type
application/json
{
  • "data": [
    • {
      • "postId": "00000000-0000-1000-9000-510d9bb07630",
      • "userId": "00000000-0000-1000-9000-55f01dda9dd0",
      • "location": {
        },
      • "text": "string",
      • "likeCount": 0,
      • "commentCount": 0,
      • "photoCount": 0,
      • "likedByUser": true,
      • "commentedByUser": true,
      • "edited": true,
      • "hidden": true,
      • "photos": [
        ],
      • "mentions": [
        ],
      • "createdAt": "2024-11-29T12:09:53+00:00",
      • "updatedAt": "2024-11-29T12:09:53+00:00"
      }
    ],
  • "count": 10,
  • "currentPage": 0,
  • "page": 0,
  • "pageSize": 10,
  • "limit": 10,
  • "total": 1000
}

.../posts

✨ Create new Post

Authorizations:
bearerHttpAuthentication
path Parameters
userId
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

header Parameters
x-current-user-id
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

traceparent
string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-...
Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01

W3C Trace Context traceparent header for request tracing

Request Body schema: application/json
required
locationId
string <uuid> (LocationId)

Location or Address ID

text
required
string <text> (PostText) <= 2000 characters

Post text

Array of objects (PostMention)
Array
mentionedUserId
required
string <uuid>
mentionText
required
string

Responses

Response Schema: application/json
postId
required
string <uuid> (PostId)

Post ID

userId
required
string <uuid> (UserId)

User ID

object (Location)
locationId
required
string <uuid> (LocationId)

Location or Address ID

formattedAddress
required
string
latitude
number <double>
longitude
number <double>
text
required
string
likeCount
required
integer
commentCount
required
integer
photoCount
required
integer
likedByUser
required
boolean
commentedByUser
required
boolean
edited
required
boolean
hidden
required
boolean
required
Array of objects (Photo)
Array
postId
required
string <uuid> (PostId)

Post ID

photoId
required
string <uuid> (PhotoId)

Photo ID

createdAt
required
string <date-time> (DateTime)

Date and time in RFC-3339

required
Array of objects (PostMention)
Array
mentionedUserId
required
string <uuid>
mentionText
required
string
createdAt
required
string <date-time> (DateTime)

Date and time in RFC-3339

updatedAt
required
string <date-time> (DateTime)

Date and time in RFC-3339

Request samples

Content type
application/json
{
  • "locationId": "00000000-0000-1000-9000-510d9bb07630",
  • "text": "Lorem ipsum",
  • "mentions": [
    • {
      • "mentionedUserId": "140e25be-3b54-4b10-8614-005ab1b61fc6",
      • "mentionText": "string"
      }
    ]
}

Response samples

Content type
application/json
{
  • "postId": "00000000-0000-1000-9000-510d9bb07630",
  • "userId": "00000000-0000-1000-9000-55f01dda9dd0",
  • "location": {
    • "locationId": "00000000-0000-1000-9000-510d9bb07630",
    • "formattedAddress": "string",
    • "latitude": 0.1,
    • "longitude": 0.1
    },
  • "text": "string",
  • "likeCount": 0,
  • "commentCount": 0,
  • "photoCount": 0,
  • "likedByUser": true,
  • "commentedByUser": true,
  • "edited": true,
  • "hidden": true,
  • "photos": [
    • {
      • "postId": "00000000-0000-1000-9000-510d9bb07630",
      • "photoId": "00000000-0000-1000-9000-510d9bb07630",
      • "createdAt": "2024-11-29T12:09:53+00:00"
      }
    ],
  • "mentions": [
    • {
      • "mentionedUserId": "140e25be-3b54-4b10-8614-005ab1b61fc6",
      • "mentionText": "string"
      }
    ],
  • "createdAt": "2024-11-29T12:09:53+00:00",
  • "updatedAt": "2024-11-29T12:09:53+00:00"
}

.../posts/{id}

✨ Get User post by id

Authorizations:
bearerHttpAuthentication
path Parameters
userId
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

postId
required
string <uuid> (PostId)
Example: 00000000-0000-1000-9000-510d9bb07630

Post ID

header Parameters
x-current-user-id
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

traceparent
string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-...
Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01

W3C Trace Context traceparent header for request tracing

Responses

Response Schema: application/json
postId
required
string <uuid> (PostId)

Post ID

userId
required
string <uuid> (UserId)

User ID

object (Location)
locationId
required
string <uuid> (LocationId)

Location or Address ID

formattedAddress
required
string
latitude
number <double>
longitude
number <double>
text
required
string
likeCount
required
integer
commentCount
required
integer
photoCount
required
integer
likedByUser
required
boolean
commentedByUser
required
boolean
edited
required
boolean
hidden
required
boolean
required
Array of objects (Photo)
Array
postId
required
string <uuid> (PostId)

Post ID

photoId
required
string <uuid> (PhotoId)

Photo ID

createdAt
required
string <date-time> (DateTime)

Date and time in RFC-3339

required
Array of objects (PostMention)
Array
mentionedUserId
required
string <uuid>
mentionText
required
string
createdAt
required
string <date-time> (DateTime)

Date and time in RFC-3339

updatedAt
required
string <date-time> (DateTime)

Date and time in RFC-3339

Response samples

Content type
application/json
{
  • "postId": "00000000-0000-1000-9000-510d9bb07630",
  • "userId": "00000000-0000-1000-9000-55f01dda9dd0",
  • "location": {
    • "locationId": "00000000-0000-1000-9000-510d9bb07630",
    • "formattedAddress": "string",
    • "latitude": 0.1,
    • "longitude": 0.1
    },
  • "text": "string",
  • "likeCount": 0,
  • "commentCount": 0,
  • "photoCount": 0,
  • "likedByUser": true,
  • "commentedByUser": true,
  • "edited": true,
  • "hidden": true,
  • "photos": [
    • {
      • "postId": "00000000-0000-1000-9000-510d9bb07630",
      • "photoId": "00000000-0000-1000-9000-510d9bb07630",
      • "createdAt": "2024-11-29T12:09:53+00:00"
      }
    ],
  • "mentions": [
    • {
      • "mentionedUserId": "140e25be-3b54-4b10-8614-005ab1b61fc6",
      • "mentionText": "string"
      }
    ],
  • "createdAt": "2024-11-29T12:09:53+00:00",
  • "updatedAt": "2024-11-29T12:09:53+00:00"
}

.../posts/{id}

✨ Update User Post

Authorizations:
bearerHttpAuthentication
path Parameters
userId
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

postId
required
string <uuid> (PostId)
Example: 00000000-0000-1000-9000-510d9bb07630

Post ID

header Parameters
x-current-user-id
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

traceparent
string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-...
Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01

W3C Trace Context traceparent header for request tracing

Request Body schema: application/json
required
locationId
string <uuid> (LocationId)

Location or Address ID

text
required
string <text> (PostText) <= 2000 characters

Post text

Responses

Response Schema: application/json
postId
required
string <uuid> (PostId)

Post ID

userId
required
string <uuid> (UserId)

User ID

object (Location)
locationId
required
string <uuid> (LocationId)

Location or Address ID

formattedAddress
required
string
latitude
number <double>
longitude
number <double>
text
required
string
likeCount
required
integer
commentCount
required
integer
photoCount
required
integer
likedByUser
required
boolean
commentedByUser
required
boolean
edited
required
boolean
hidden
required
boolean
required
Array of objects (Photo)
Array
postId
required
string <uuid> (PostId)

Post ID

photoId
required
string <uuid> (PhotoId)

Photo ID

createdAt
required
string <date-time> (DateTime)

Date and time in RFC-3339

required
Array of objects (PostMention)
Array
mentionedUserId
required
string <uuid>
mentionText
required
string
createdAt
required
string <date-time> (DateTime)

Date and time in RFC-3339

updatedAt
required
string <date-time> (DateTime)

Date and time in RFC-3339

Request samples

Content type
application/json
{
  • "locationId": "00000000-0000-1000-9000-510d9bb07630",
  • "text": "Lorem ipsum"
}

Response samples

Content type
application/json
{
  • "postId": "00000000-0000-1000-9000-510d9bb07630",
  • "userId": "00000000-0000-1000-9000-55f01dda9dd0",
  • "location": {
    • "locationId": "00000000-0000-1000-9000-510d9bb07630",
    • "formattedAddress": "string",
    • "latitude": 0.1,
    • "longitude": 0.1
    },
  • "text": "string",
  • "likeCount": 0,
  • "commentCount": 0,
  • "photoCount": 0,
  • "likedByUser": true,
  • "commentedByUser": true,
  • "edited": true,
  • "hidden": true,
  • "photos": [
    • {
      • "postId": "00000000-0000-1000-9000-510d9bb07630",
      • "photoId": "00000000-0000-1000-9000-510d9bb07630",
      • "createdAt": "2024-11-29T12:09:53+00:00"
      }
    ],
  • "mentions": [
    • {
      • "mentionedUserId": "140e25be-3b54-4b10-8614-005ab1b61fc6",
      • "mentionText": "string"
      }
    ],
  • "createdAt": "2024-11-29T12:09:53+00:00",
  • "updatedAt": "2024-11-29T12:09:53+00:00"
}

.../posts/{id}

✨ Delete User Post

Authorizations:
bearerHttpAuthentication
path Parameters
userId
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

postId
required
string <uuid> (PostId)
Example: 00000000-0000-1000-9000-510d9bb07630

Post ID

header Parameters
x-current-user-id
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

traceparent
string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-...
Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01

W3C Trace Context traceparent header for request tracing

Responses

Response Schema: application/json
postId
string <uuid> (PostId)

Post ID

Response samples

Content type
application/json
{
  • "postId": "00000000-0000-1000-9000-510d9bb07630"
}

.../posts/{id}/photos

✨ Create new Post Photo.

Authorizations:
bearerHttpAuthentication
path Parameters
userId
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

postId
required
string <uuid> (PostId)
Example: 00000000-0000-1000-9000-510d9bb07630

Post ID

header Parameters
traceparent
string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-...
Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01

W3C Trace Context traceparent header for request tracing

Request Body schema: application/json
required
photoIds
required
Array of strings <uuid> (PhotoId) [ items <uuid > ]

Responses

Response Schema: application/json
required
Array of objects (Photo)
Array
postId
required
string <uuid> (PostId)

Post ID

photoId
required
string <uuid> (PhotoId)

Photo ID

createdAt
required
string <date-time> (DateTime)

Date and time in RFC-3339

Request samples

Content type
application/json
{
  • "photoIds": [
    • "00000000-0000-1000-9000-510d9bb07630"
    ]
}

Response samples

Content type
application/json
{
  • "photos": [
    • {
      • "postId": "00000000-0000-1000-9000-510d9bb07630",
      • "photoId": "00000000-0000-1000-9000-510d9bb07630",
      • "createdAt": "2024-11-29T12:09:53+00:00"
      }
    ]
}

.../posts/{id}/photos/{id}

✨ Delete Post Photo by id.

Authorizations:
bearerHttpAuthentication
path Parameters
userId
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

postId
required
string <uuid> (PostId)
Example: 00000000-0000-1000-9000-510d9bb07630

Post ID

photoId
required
string <uuid> (PhotoId)
Example: 00000000-0000-1000-9000-510d9bb07630

Photo ID

header Parameters
x-current-user-id
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

traceparent
string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-...
Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01

W3C Trace Context traceparent header for request tracing

Responses

Response Schema: application/json
photoId
string <uuid> (PhotoId)

Photo ID

Response samples

Content type
application/json
{
  • "photoId": "00000000-0000-1000-9000-510d9bb07630"
}

.../posts/{id}/likes

✨ Get Post Likes

Authorizations:
bearerHttpAuthentication
path Parameters
userId
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

postId
required
string <uuid> (PostId)
Example: 00000000-0000-1000-9000-510d9bb07630

Post ID

query Parameters
page
integer (PageNumber) >= 0
Default: 0
Example: page=0

Page number

limit
integer (PageLimit) [ 1 .. 100 ]
Default: 10
Example: limit=10

Page limit

header Parameters
traceparent
string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-...
Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01

W3C Trace Context traceparent header for request tracing

Responses

Response Schema: application/json
Array of objects
Array
likeId
string <uuid> (LikeId)

Like ID

postId
required
string <uuid> (PostId)

Post ID

commentId
string <uuid> (CommentId)

Comment ID

likeUserId
required
string <uuid> (LikeUserId)

Like User ID

isLiked
required
boolean
createdAt
string <date-time> (DateTime)

Date and time in RFC-3339

count
required
integer (Count)

Page entries count

currentPage
integer (CurrentPage) >= 0
Deprecated
Default: 0

Current page

page
required
integer (PageNumber) >= 0
Default: 0

Page number

pageSize
integer (PageSize) [ 1 .. 100 ]
Deprecated
Default: 10

Page size

limit
required
integer (PageLimit) [ 1 .. 100 ]
Default: 10

Page limit

total
required
integer (TotalCount) >= 0
Default: 0

Total count

Response samples

Content type
application/json
{
  • "data": [
    • {
      • "likeId": "00000000-0000-1000-9000-510d9bb07630",
      • "postId": "00000000-0000-1000-9000-510d9bb07630",
      • "commentId": "00000000-0000-1000-9000-510d9bb07630",
      • "likeUserId": "00000000-0000-1000-9000-510d9bb07630",
      • "isLiked": true,
      • "createdAt": "2024-11-29T12:09:53+00:00"
      }
    ],
  • "count": 10,
  • "currentPage": 0,
  • "page": 0,
  • "pageSize": 10,
  • "limit": 10,
  • "total": 1000
}

.../posts/{id}/like

✨ Post like toggling

Authorizations:
bearerHttpAuthentication
path Parameters
userId
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

postId
required
string <uuid> (PostId)
Example: 00000000-0000-1000-9000-510d9bb07630

Post ID

header Parameters
x-current-user-id
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

traceparent
string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-...
Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01

W3C Trace Context traceparent header for request tracing

Responses

Response Schema: application/json
likeId
string <uuid> (LikeId)

Like ID

postId
required
string <uuid> (PostId)

Post ID

commentId
string <uuid> (CommentId)

Comment ID

likeUserId
required
string <uuid> (LikeUserId)

Like User ID

isLiked
required
boolean
createdAt
string <date-time> (DateTime)

Date and time in RFC-3339

Response samples

Content type
application/json
{
  • "likeId": "00000000-0000-1000-9000-510d9bb07630",
  • "postId": "00000000-0000-1000-9000-510d9bb07630",
  • "commentId": "00000000-0000-1000-9000-510d9bb07630",
  • "likeUserId": "00000000-0000-1000-9000-510d9bb07630",
  • "isLiked": true,
  • "createdAt": "2024-11-29T12:09:53+00:00"
}

.../posts/{id}/hide

✨ Toggle Post hide from all or specific users

Authorizations:
bearerHttpAuthentication
path Parameters
userId
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

postId
required
string <uuid> (PostId)
Example: 00000000-0000-1000-9000-510d9bb07630

Post ID

header Parameters
x-current-user-id
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

traceparent
string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-...
Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01

W3C Trace Context traceparent header for request tracing

Request Body schema: application/json
required
hideFromAll
required
boolean
hideFromUserIds
required
Array of strings <uuid> (UserId) [ items <uuid > ]

Responses

Response Schema: application/json
hideFromAll
required
boolean
hiddenFromUserIds
required
Array of strings <uuid> (UserId) [ items <uuid > ]
unHiddenFromUserIds
required
Array of strings <uuid> (UserId) [ items <uuid > ]

Request samples

Content type
application/json
{
  • "hideFromAll": true,
  • "hideFromUserIds": [
    • "00000000-0000-1000-9000-55f01dda9dd0"
    ]
}

Response samples

Content type
application/json
{
  • "hideFromAll": true,
  • "hiddenFromUserIds": [
    • "00000000-0000-1000-9000-55f01dda9dd0"
    ],
  • "unHiddenFromUserIds": [
    • "00000000-0000-1000-9000-55f01dda9dd0"
    ]
}

Mark a single post as seen

✨ Mark a single post as seen by the specified user

Authorizations:
bearerHttpAuthentication
path Parameters
userId
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

postId
required
string <uuid> (PostId)
Example: 00000000-0000-1000-9000-510d9bb07630

Post ID

header Parameters
x-current-user-id
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

traceparent
string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-...
Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01

W3C Trace Context traceparent header for request tracing

Responses

Response samples

Content type
application/json
{
  • "errors": [
    • {
      • "code": "validation",
      • "message": "string",
      • "endpoint": "string",
      • "requestId": "string"
      }
    ]
}

Report a post

✨ Submit a report for inappropriate or problematic post content

Authorizations:
bearerHttpAuthentication
path Parameters
postId
required
string <uuid> (PostId)
Example: 00000000-0000-1000-9000-510d9bb07630

Post ID

header Parameters
x-current-user-id
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

traceparent
string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-...
Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01

W3C Trace Context traceparent header for request tracing

Request Body schema: application/json
description
string or null <= 1000 characters

Optional text description explaining why this content is being reported

Responses

Request samples

Content type
application/json
{
  • "description": "string"
}

Response samples

Content type
application/json
{
  • "errors": [
    • {
      • "code": "validation",
      • "message": "string",
      • "endpoint": "string",
      • "requestId": "string"
      }
    ]
}

Mark posts as seen

✨ Mark multiple posts as seen by the current user (batch operation)

Authorizations:
bearerHttpAuthentication
header Parameters
x-current-user-id
required
string <uuid> (UserId)
Example: 00000000-0000-1000-9000-55f01dda9dd0

User ID

traceparent
string^[0-9a-f]{2}-[0-9a-f]{32}-[0-9a-f]{16}-[0-9a-...
Example: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01

W3C Trace Context traceparent header for request tracing

Request Body schema: application/json
required
required
Array of objects (SeenPostItem)
Array
postId
required
string <uuid> (PostId)

Post ID

postOwnerId
required
string <uuid> (UserId)

User ID

Responses

Request samples

Content type
application/json
{
  • "posts": [
    • {
      • "postId": "00000000-0000-1000-9000-510d9bb07630",
      • "postOwnerId": "00000000-0000-1000-9000-55f01dda9dd0"
      }
    ]
}

Response samples

Content type
application/json
{
  • "errors": [
    • {
      • "code": "validation",
      • "message": "string",
      • "endpoint": "string",
      • "requestId": "string"
      }
    ]
}