Skip to main content
POST
/
api
/
v2
/
protobuf-descriptors:add
AddProtobufDescriptor
curl --request POST \
  --url https://api.siftstack.com/api/v2/protobuf-descriptors:add \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "protobufDescriptor": {
    "messageTypeFullName": "<string>",
    "fileDescriptorSet": "aSDinaTvuI8gbWludGxpZnk=",
    "protoFileName": "<string>",
    "namespace": "<string>",
    "protobufDescriptorId": "<string>"
  },
  "forceDuplicateRegistration": true
}
'
{
  "protobufDescriptor": {
    "messageTypeFullName": "<string>",
    "fileDescriptorSet": "aSDinaTvuI8gbWludGxpZnk=",
    "protoFileName": "<string>",
    "namespace": "<string>",
    "protobufDescriptorId": "<string>",
    "createdDate": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.siftstack.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
protobufDescriptor
object
forceDuplicateRegistration
boolean

If set to true, the service will ignore checks that this descriptor has already been registered and will ensure that it is registered as the latest proto descriptor for the message type.

Response

A successful response.

protobufDescriptor
object