Skip to navigation

Get One Piece of Company Text

View as Markdown
Returns one of the entity's texts by id. Requires read auth.

Authentication

AuthorizationBearer

Your aVenture API key (https://aventure.vc/settings/api-keys) or OAuth access token

Path parameters

entityIdstringRequiredformat: "uuid"
Entity UUID owning the text row
textIdlongRequired
Text row id

Response headers

X-RateLimit-LimitintegerOptional

Requests allowed per client IP in the current rate-limit window.

X-RateLimit-RemainingintegerOptional

Requests left before the tightest applicable rate-limit bucket rejects.

X-RateLimit-ResetintegerOptional

Seconds until the exhausted rate-limit bucket admits another request; 0 when none is exhausted.

Response

OK
idinteger
Identifier of a text record
ownerobject

Owning record, nested ids only: owner.entityId or owner.personId — exactly one is set, and no name fields. Writes are scoped by the owning entity/person route; owner is never a write field.

textstring
textTypestring
Kind of text record
complianceobject or nullOptional

Character and word counts for this text and whether it meets its type’s length and paragraph rules; null when not checked.

createdAtdatetime or nullOptional
expandedTextobject or nullOptional
Expanded row written with this summary by expandedWriterBrief, including its compliance. Null when this response does not represent a paired create.
expandedTextIdinteger or nullOptional

Id of the expanded row a summary create wrote in the same transaction from expandedWriterBrief; read it at GET /v1/entities/{entityId}/texts/{textId}. Null on every other response.

isCurrentboolean or nullOptional

Whether this is the owner’s current text of its textType; setting it clears the flag on the owner’s other texts of that type.

isPrimaryboolean or nullOptional

Whether this is the owner’s primary text of its textType; setting it clears the flag on the owner’s other texts of that type.

languagestring or nullOptional
textNamestring or nullOptional
updatedAtdatetime or nullOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
406
Not Acceptable Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error