Create docs for api/sdk description
This commit is contained in:
parent
4f86cb527e
commit
2c2b5f6232
|
@ -666,7 +666,7 @@ App::post('/v1/database/collections/:collectionId/attributes/string')
|
|||
->label('sdk.auth', [APP_AUTH_TYPE_KEY])
|
||||
->label('sdk.namespace', 'database')
|
||||
->label('sdk.method', 'createStringAttribute')
|
||||
->label('sdk.description', '/docs/references/database/create-attribute-string.md')
|
||||
->label('sdk.description', '/docs/references/database/create-string-attribute.md')
|
||||
->label('sdk.response.code', Response::STATUS_CODE_CREATED)
|
||||
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
|
||||
->label('sdk.response.model', Response::MODEL_ATTRIBUTE)
|
||||
|
@ -714,7 +714,7 @@ App::post('/v1/database/collections/:collectionId/attributes/email')
|
|||
->label('sdk.namespace', 'database')
|
||||
->label('sdk.auth', [APP_AUTH_TYPE_KEY])
|
||||
->label('sdk.method', 'createEmailAttribute')
|
||||
->label('sdk.description', '/docs/references/database/create-attribute-email.md')
|
||||
->label('sdk.description', '/docs/references/database/create-email-attribute.md')
|
||||
->label('sdk.response.code', Response::STATUS_CODE_CREATED)
|
||||
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
|
||||
->label('sdk.response.model', Response::MODEL_ATTRIBUTE)
|
||||
|
@ -756,7 +756,7 @@ App::post('/v1/database/collections/:collectionId/attributes/ip')
|
|||
->label('sdk.namespace', 'database')
|
||||
->label('sdk.auth', [APP_AUTH_TYPE_KEY])
|
||||
->label('sdk.method', 'createIpAttribute')
|
||||
->label('sdk.description', '/docs/references/database/create-attribute-ip.md')
|
||||
->label('sdk.description', '/docs/references/database/create-ip-attribute.md')
|
||||
->label('sdk.response.code', Response::STATUS_CODE_CREATED)
|
||||
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
|
||||
->label('sdk.response.model', Response::MODEL_ATTRIBUTE)
|
||||
|
@ -798,7 +798,7 @@ App::post('/v1/database/collections/:collectionId/attributes/url')
|
|||
->label('sdk.namespace', 'database')
|
||||
->label('sdk.auth', [APP_AUTH_TYPE_KEY])
|
||||
->label('sdk.method', 'createUrlAttribute')
|
||||
->label('sdk.description', '/docs/references/database/create-attribute-url.md')
|
||||
->label('sdk.description', '/docs/references/database/create-url-attribute.md')
|
||||
->label('sdk.response.code', Response::STATUS_CODE_CREATED)
|
||||
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
|
||||
->label('sdk.response.model', Response::MODEL_ATTRIBUTE)
|
||||
|
@ -840,7 +840,7 @@ App::post('/v1/database/collections/:collectionId/attributes/integer')
|
|||
->label('sdk.namespace', 'database')
|
||||
->label('sdk.auth', [APP_AUTH_TYPE_KEY])
|
||||
->label('sdk.method', 'createIntegerAttribute')
|
||||
->label('sdk.description', '/docs/references/database/create-attribute-integer.md')
|
||||
->label('sdk.description', '/docs/references/database/create-integer-attribute.md')
|
||||
->label('sdk.response.code', Response::STATUS_CODE_CREATED)
|
||||
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
|
||||
->label('sdk.response.model', Response::MODEL_ATTRIBUTE)
|
||||
|
@ -904,7 +904,7 @@ App::post('/v1/database/collections/:collectionId/attributes/float')
|
|||
->label('sdk.namespace', 'database')
|
||||
->label('sdk.auth', [APP_AUTH_TYPE_KEY])
|
||||
->label('sdk.method', 'createFloatAttribute')
|
||||
->label('sdk.description', '/docs/references/database/create-attribute-float.md')
|
||||
->label('sdk.description', '/docs/references/database/create-float-attribute.md')
|
||||
->label('sdk.response.code', Response::STATUS_CODE_CREATED)
|
||||
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
|
||||
->label('sdk.response.model', Response::MODEL_ATTRIBUTE)
|
||||
|
@ -968,7 +968,7 @@ App::post('/v1/database/collections/:collectionId/attributes/boolean')
|
|||
->label('sdk.namespace', 'database')
|
||||
->label('sdk.auth', [APP_AUTH_TYPE_KEY])
|
||||
->label('sdk.method', 'createBooleanAttribute')
|
||||
->label('sdk.description', '/docs/references/database/create-attribute-boolean.md')
|
||||
->label('sdk.description', '/docs/references/database/create-boolean-attribute.md')
|
||||
->label('sdk.response.code', Response::STATUS_CODE_CREATED)
|
||||
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
|
||||
->label('sdk.response.model', Response::MODEL_ATTRIBUTE)
|
||||
|
|
1
docs/references/database/create-boolean-attribute.md
Normal file
1
docs/references/database/create-boolean-attribute.md
Normal file
|
@ -0,0 +1 @@
|
|||
Create a boolean attribute.
|
1
docs/references/database/create-email-attribute.md
Normal file
1
docs/references/database/create-email-attribute.md
Normal file
|
@ -0,0 +1 @@
|
|||
Create an email attribute.
|
1
docs/references/database/create-float-attribute.md
Normal file
1
docs/references/database/create-float-attribute.md
Normal file
|
@ -0,0 +1 @@
|
|||
Create a float attribute. Optionally, minimum and maximum values can be provided.
|
1
docs/references/database/create-integer-attribute.md
Normal file
1
docs/references/database/create-integer-attribute.md
Normal file
|
@ -0,0 +1 @@
|
|||
Create an integer attribute. Optionally, minimum and maximum values can be provided.
|
1
docs/references/database/create-ip-attribute.md
Normal file
1
docs/references/database/create-ip-attribute.md
Normal file
|
@ -0,0 +1 @@
|
|||
Create IP address attribute.
|
1
docs/references/database/create-string-attribute.md
Normal file
1
docs/references/database/create-string-attribute.md
Normal file
|
@ -0,0 +1 @@
|
|||
Create a new string attribute.
|
1
docs/references/database/create-url-attribute.md
Normal file
1
docs/references/database/create-url-attribute.md
Normal file
|
@ -0,0 +1 @@
|
|||
Create a URL attribute.
|
Loading…
Reference in a new issue