Submit or edit your review

Trust · saveOwnReview

One review per authenticated user, associated with an account they administer. Every edit removes public approval. Revision is null for first submission, otherwise the current revision. Avatars are optional JPEG/PNG/WebP, at most 512 KiB before base64 encoding.

POST/reviews/me

Base URL: https://api.businessmode.io/v1

Authentication

Developer bearer token

The requirement above comes from this operation's OpenAPI security declaration. See Authentication.

Parameters

No path, query, or header parameters are defined.

Request body

Required

application/json

object · SaveReviewRequest
  • No additional properties
FieldTypeRequiredDescription / constraints
accountIdstringYesFormat: uuid · Pattern: ^([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)$
avataranyOfNo
View nested schema
anyOf

anyOf · 2 alternatives

Alternative 1
object
  • No additional properties
FieldTypeRequiredDescription / constraints
base64stringYesPattern: ^[A-Za-z0-9+/]+={0,2}$ · Minimum length: 4 · Maximum length: 699052
contentTypestringYesValues: image/jpeg, image/png, image/webp
Alternative 2
null
bodystringYesMinimum length: 20 · Maximum length: 3000
consentToPublishbooleanYes
headlinestringYesMinimum length: 3 · Maximum length: 120
publicCompanyanyOfYes
View nested schema
anyOf

anyOf · 2 alternatives

Alternative 1
string
  • Minimum length: 1
  • Maximum length: 100
Alternative 2
null
publicNamestringYesMinimum length: 1 · Maximum length: 80
publicRoleanyOfYes
View nested schema
anyOf

anyOf · 2 alternatives

Alternative 1
string
  • Minimum length: 1
  • Maximum length: 100
Alternative 2
null
ratingintegerYesMinimum: 1 · Maximum: 5
revisionanyOfYes
View nested schema
anyOf

anyOf · 2 alternatives

Alternative 1
integer
  • Maximum: 9007199254740991
  • Exclusive minimum: 0
Alternative 2
null

Responses

For status codes, request IDs, and safe retry decisions, see Errors & recovery. Known-code descriptions below are operation-specific, not a complete global error enum.

200 Successful response.

Content type: application/json

object · OwnedReviewResponse
  • No additional properties
FieldTypeRequiredDescription / constraints
canModeratebooleanYes
reviewanyOfYes
View nested schema
anyOf

anyOf · 2 alternatives

Alternative 1
object
  • No additional properties
FieldTypeRequiredDescription / constraints
accountIdstringYesFormat: uuid · Pattern: ^([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)$
avatarDataUrlstring | nullYes
bodystringYesMinimum length: 20 · Maximum length: 3000
consentToPublishbooleanYes
headlinestringYesMinimum length: 3 · Maximum length: 120
idstringYesFormat: uuid · Pattern: ^([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)$
publicCompanyanyOfYes
View nested schema
anyOf

anyOf · 2 alternatives

Alternative 1
string
  • Minimum length: 1
  • Maximum length: 100
Alternative 2
null
publicNamestringYesMinimum length: 1 · Maximum length: 80
publicRoleanyOfYes
View nested schema
anyOf

anyOf · 2 alternatives

Alternative 1
string
  • Minimum length: 1
  • Maximum length: 100
Alternative 2
null
ratingintegerYesMinimum: 1 · Maximum: 5
reasonanyOfYes
View nested schema
anyOf

anyOf · 2 alternatives

Alternative 1
string
  • Values: spam, abuse, personal_information, unsafe_avatar, unrelated, consent, withdrawn
Alternative 2
null
revisionintegerYesMaximum: 9007199254740991 · Exclusive minimum: 0
statusstringYesValues: pending, approved, rejected, unpublished
updatedAtstringYesFormat: date-time · Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
Alternative 2
null

400 Invalid request.

Content type: application/json

object · ErrorResponse
  • No additional properties
FieldTypeRequiredDescription / constraints
errorobjectYesNo additional properties
View nested schema
object
  • No additional properties
FieldTypeRequiredDescription / constraints
codestringYesMinimum length: 1
messagestringYesMinimum length: 1

401 Authentication failed.

Content type: application/json

object · ErrorResponse
  • No additional properties
FieldTypeRequiredDescription / constraints
errorobjectYesNo additional properties
View nested schema
object
  • No additional properties
FieldTypeRequiredDescription / constraints
codestringYesMinimum length: 1
messagestringYesMinimum length: 1

403 The authenticated human is not permitted to perform this operation.

Content type: application/json

object · ErrorResponse
  • No additional properties
FieldTypeRequiredDescription / constraints
errorobjectYesNo additional properties
View nested schema
object
  • No additional properties
FieldTypeRequiredDescription / constraints
codestringYesMinimum length: 1
messagestringYesMinimum length: 1

409 The request conflicts with current resource state.

Content type: application/json

object · ErrorResponse
  • No additional properties
FieldTypeRequiredDescription / constraints
errorobjectYesNo additional properties
View nested schema
object
  • No additional properties
FieldTypeRequiredDescription / constraints
codestringYesMinimum length: 1
messagestringYesMinimum length: 1

429 Too many requests. Honor Retry-After before retrying with the same logical Idempotency-Key, where required. Known error codes: rate_limit_exceeded.

Content type: application/json

object · ErrorResponse
  • No additional properties
FieldTypeRequiredDescription / constraints
errorobjectYesNo additional properties
View nested schema
object
  • No additional properties
FieldTypeRequiredDescription / constraints
codestringYesMinimum length: 1
messagestringYesMinimum length: 1

500 An unexpected server error occurred.

Content type: application/json

object · ErrorResponse
  • No additional properties
FieldTypeRequiredDescription / constraints
errorobjectYesNo additional properties
View nested schema
object
  • No additional properties
FieldTypeRequiredDescription / constraints
codestringYesMinimum length: 1
messagestringYesMinimum length: 1

← All API operations