Skip to content

Download OpenAPI description
Languages
Servers
Mock server

https://docs.bndry.net/_mock/apis/openapi/

https://api.bndry.app/

Documents

Service for managing documents.

Operations

Create a document

Request

Creates a new document.

Security
oauth2_client_credentials or oauth2_authorization_code
Bodyapplication/json

Required. The document to create.

namestring(name)

(IDENTIFIER) The resource name of the document. Format: documents/{document}

displayNamestring(display_name)[ 1 .. 128 ] charactersrequired

Optional. A mutable, user-settable field for providing a human-readable name for the document, to be used in user interfaces. Must be <= 63 characters.

contentstring(byte)(content)[ 1 .. 10485760 ] charactersrequired

The content of the document. Maximum file size is 10Mib.

curl -i -X POST \
  https://docs.bndry.net/_mock/apis/openapi/v1alpha/documents \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "displayName": "John Doe - Driver'\''s License",
    "content": "string",
    "createTime": "1s",
    "updateTime": "1s"
  }'

Responses

Success

Bodyapplication/json
namestring(name)

(IDENTIFIER) The resource name of the document. Format: documents/{document}

displayNamestring(display_name)[ 1 .. 128 ] charactersrequired

Optional. A mutable, user-settable field for providing a human-readable name for the document, to be used in user interfaces. Must be <= 63 characters.

contentstring(byte)(content)[ 1 .. 10485760 ] charactersrequired

The content of the document. Maximum file size is 10Mib.

createTimestring(date-time)(google.protobuf.Timestamp)read-only

Output only. The timestamp when the document was created.

updateTimestring(date-time)(google.protobuf.Timestamp)read-only

Output only. The timestamp when the document was most recently updated.

Response
application/json
{ "name": "string", "displayName": "John Doe - Driver's License", "content": "string", "createTime": "1s", "updateTime": "1s" }

Retrieve a document

Request

Retrieves a document.

Security
oauth2_client_credentials or oauth2_authorization_code
Path
documentstringrequired

The document id.

Query
viewstring(bndry.api.datacollection.documents.v1alpha.DocumentView)

Optional. Specifies the view of the document to retrieve.

Enum"DOCUMENT_VIEW_UNSPECIFIED""DOCUMENT_VIEW_BASIC""DOCUMENT_VIEW_FULL"
curl -i -X GET \
  'https://docs.bndry.net/_mock/apis/openapi/v1alpha/documents/{document}?view=DOCUMENT_VIEW_UNSPECIFIED' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Success

Bodyapplication/json
namestring(name)

(IDENTIFIER) The resource name of the document. Format: documents/{document}

displayNamestring(display_name)[ 1 .. 128 ] charactersrequired

Optional. A mutable, user-settable field for providing a human-readable name for the document, to be used in user interfaces. Must be <= 63 characters.

contentstring(byte)(content)[ 1 .. 10485760 ] charactersrequired

The content of the document. Maximum file size is 10Mib.

createTimestring(date-time)(google.protobuf.Timestamp)read-only

Output only. The timestamp when the document was created.

updateTimestring(date-time)(google.protobuf.Timestamp)read-only

Output only. The timestamp when the document was most recently updated.

Response
application/json
{ "name": "string", "displayName": "John Doe - Driver's License", "content": "string", "createTime": "1s", "updateTime": "1s" }

Delete a document

Request

Deletes a document.

Security
oauth2_client_credentials or oauth2_authorization_code
Path
documentstringrequired

The document id.

curl -i -X DELETE \
  'https://docs.bndry.net/_mock/apis/openapi/v1alpha/documents/{document}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Success

Bodyapplication/json
object(google.protobuf.Empty)

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:

service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

Response
application/json
{}

Form Definitions

Service for managing form definitions.

Operations

Forms

Operations

Workspaces

Service for managing workspaces and their associated forms and documents.

Operations

Automations

Service for managing and executing automations.

Operations

EventService

EventService provides operations for managing events

Operations

Notes

Operations

Tenants

Service for managing tenants.

Operations

Entities

Operations

Onboard Individual (Verify Identity)

Service for managing individual entity onboarding jobs.

Operations

Truuth

TruuthService provides an API for the BNDRY SPA to initiate a new verification session with Truuth

Operations