https://docs.bndry.net/_mock/apis/openapi/
https://api.bndry.app/
Required. The document to create.
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.
- Mock server
https://docs.bndry.net/_mock/apis/openapi/v1alpha/documents
https://api.bndry.app/v1alpha/documents
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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"
}'
{ "name": "string", "displayName": "John Doe - Driver's License", "content": "string", "createTime": "1s", "updateTime": "1s" }
- Mock server
https://docs.bndry.net/_mock/apis/openapi/v1alpha/documents/{document}
https://api.bndry.app/v1alpha/documents/{document}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.bndry.net/_mock/apis/openapi/v1alpha/documents/{document}?view=DOCUMENT_VIEW_UNSPECIFIED' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "name": "string", "displayName": "John Doe - Driver's License", "content": "string", "createTime": "1s", "updateTime": "1s" }
- Mock server
https://docs.bndry.net/_mock/apis/openapi/v1alpha/documents/{document}
https://api.bndry.app/v1alpha/documents/{document}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.bndry.net/_mock/apis/openapi/v1alpha/documents/{document}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Success
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); }
{}