Skip to main content
POST
/
api
/
v1
/
protobuf-descriptors:add
AddProtobufDescriptor
curl --request POST \
  --url https://your-sift-api-url.com/api/v1/protobuf-descriptors:add \
  --header 'Authorization: Bearer <token>'
{
  "protobufDescriptor": {
    "messageTypeFullName": "<string>",
    "fileDescriptorSet": "aSDinaTvuI8gbWludGxpZnk=",
    "protoFileName": "<string>",
    "namespace": "<string>",
    "protobufDescriptorId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

protobufDescriptor.messageTypeFullName
string
protobufDescriptor.fileDescriptorSet
string<byte>
protobufDescriptor.protoFileName
string
protobufDescriptor.namespace
string
protobufDescriptor.protobufDescriptorId
string
organizationId
string

organization_id is deprecated

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