https://docs.bndry.net/_mock/apis/openapi/
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.
https://docs.bndry.net/_mock/apis/openapi/v1alpha/documents
curl -i -X POST \
https://docs.bndry.net/_mock/apis/openapi/v1alpha/documents \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"displayName": "string",
"content": "string",
"createTime": "1s",
"updateTime": "1s"
}'
{ "name": "string", "displayName": "string", "content": "string", "createTime": "1s", "updateTime": "1s" }
https://docs.bndry.net/_mock/apis/openapi/v1alpha/documents/{document}
curl -i -X GET \
'https://docs.bndry.net/_mock/apis/openapi/v1alpha/documents/{document}?name=string&view=DOCUMENT_VIEW_UNSPECIFIED'
{ "name": "string", "displayName": "string", "content": "string", "createTime": "1s", "updateTime": "1s" }
https://docs.bndry.net/_mock/apis/openapi/v1alpha/documents/{document}
curl -i -X DELETE \
'https://docs.bndry.net/_mock/apis/openapi/v1alpha/documents/{document}?name=string'
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); }
{}