descriptors

Upload FileDescriptorSet

Changed on

Accepts binary Protocol Buffers FileDescriptorSet. Registers descriptors for dynamic service discovery. Returns service IDs for later removal via DELETE /services/{serviceID}.

post/descriptors

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/descriptors
  • Auth
    none required

Request body application/octet-stream

string binary required

Response

Descriptors registered successfully

messagestring required

Human-readable result of the upload.

timestring date-time required

Server time when the response was produced (RFC 3339).

serviceIDsstring[] required

Service IDs (e.g. helloworld.Greeter) registered. Use DELETE /services/{serviceID} to remove.

Changes