mirror of
https://github.com/balzack/databag.git
synced 2025-02-11 19:19:16 +00:00
using query param for access token in attribute module
This commit is contained in:
parent
1c3f06cd5a
commit
f5e0ef29f8
67
doc/api.oa3
67
doc/api.oa3
@ -1654,6 +1654,18 @@ paths:
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
- name: agent
|
||||
in: query
|
||||
description: agent token
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
- name: contact
|
||||
in: query
|
||||
description: contact token
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
description: successful operation
|
||||
@ -1685,8 +1697,13 @@ paths:
|
||||
- attribute
|
||||
description: Add a content article. Access granted to app token of the account holder.
|
||||
operationId: add-article
|
||||
security:
|
||||
- bearerAuth: []
|
||||
parameters:
|
||||
- name: agent
|
||||
in: query
|
||||
description: agent token
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'201':
|
||||
description: entry created
|
||||
@ -1712,8 +1729,6 @@ paths:
|
||||
- attribute
|
||||
description: Remove specified article. Access granted to app token of account holder.
|
||||
operationId: remove-article
|
||||
security:
|
||||
- bearerAuth: []
|
||||
parameters:
|
||||
- name: articleId
|
||||
in: path
|
||||
@ -1721,6 +1736,12 @@ paths:
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
- name: agent
|
||||
in: query
|
||||
description: agent token
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
description: success
|
||||
@ -1739,8 +1760,6 @@ paths:
|
||||
- attribute
|
||||
description: Base64 decode and download specified field from the article's subject. Access granted to app token of account holder or contact token of account the article is shared with.
|
||||
operationId: get-article-subject-field
|
||||
security:
|
||||
- bearerAuth: []
|
||||
parameters:
|
||||
- name: articleId
|
||||
in: path
|
||||
@ -1754,6 +1773,18 @@ paths:
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
- name: agent
|
||||
in: query
|
||||
description: agent token
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
- name: contact
|
||||
in: query
|
||||
description: contact token
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
description: success
|
||||
@ -1779,8 +1810,6 @@ paths:
|
||||
- attribute
|
||||
description: Set subject for article. Access granted to app token of account holder.
|
||||
operationId: set-article-subject
|
||||
security:
|
||||
- bearerAuth: []
|
||||
parameters:
|
||||
- name: articleId
|
||||
in: path
|
||||
@ -1788,6 +1817,12 @@ paths:
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
- name: agent
|
||||
in: query
|
||||
description: agent token
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
description: success
|
||||
@ -1811,8 +1846,6 @@ paths:
|
||||
- attribute
|
||||
description: Set group for articles. Access granted to app tokens for account holder.
|
||||
operationId: set-article-group
|
||||
security:
|
||||
- bearerAuth: []
|
||||
parameters:
|
||||
- name: articleId
|
||||
in: path
|
||||
@ -1826,6 +1859,12 @@ paths:
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
- name: agent
|
||||
in: query
|
||||
description: agent token
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
description: success
|
||||
@ -1846,8 +1885,6 @@ paths:
|
||||
- attribute
|
||||
description: Clear sharing group for article. Access granted to app tokens for account holder.
|
||||
operationId: clear-article-group
|
||||
security:
|
||||
- bearerAuth: []
|
||||
parameters:
|
||||
- name: articleId
|
||||
in: path
|
||||
@ -1861,6 +1898,12 @@ paths:
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
- name: agent
|
||||
in: query
|
||||
description: agent token
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
description: success
|
||||
|
Loading…
Reference in New Issue
Block a user