API referenceObject Types
Get a object type version
GET
apiKey readheader
AuthorizationBearer <token>A workspace API key (pf_…), created under Developers → API keys.
Scope: read
id*stringFormat
uuidversionId*stringFormat
uuidOK
application/json- response
id*stringFormat
uuiddefinitionId*stringFormat
uuidparentVersionId*|Format
uuidorigin*stringValue in
"edit""restore""proposal"schemaVersion*integerauthor*createdAt*stringFormat
date-timedefinition*curl -X GET 'https://api.postforge.dev/v1/object-types/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions/497f6eca-6276-4993-bfeb-53cbbbba6f08'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "definitionId": "058563fe-6949-46e9-9fb3-06a0e3a11f6a", "parentVersionId": "abf80970-9686-419e-bc00-5ddcccc33ba6", "origin": "edit", "schemaVersion": 0, "author": { "type": "user", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "createdAt": "2019-08-24T14:15:22Z", "definition": { "key": "string", "description": "string", "fields": [ { "key": "string", "label": "string", "description": "string", "type": "text", "required": true, "indexed": true } ], "relationships": [ { "key": "string", "label": "string", "to": "string", "cardinality": "one" } ] }}