mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
adding outline for contewnt module
This commit is contained in:
parent
401223969d
commit
d3fde11bfc
13
api.oa3
13
api.oa3
@ -545,11 +545,10 @@ paths:
|
|||||||
'500':
|
'500':
|
||||||
description: internal server error
|
description: internal server error
|
||||||
|
|
||||||
## Contact Module: maintain 3 lists
|
## Contact Module
|
||||||
### contacts: { disconnected, connecting, connected }
|
### contacts: { disconnected, connecting, connected }
|
||||||
### blocked: any id on blocked list is silently ignored
|
### blocked: any id on blocked list is silently ignored
|
||||||
### pending: limit number of pending contacts, created with Connect DataMessage
|
### pending: limit number of pending contacts, created with Connect DataMessage
|
||||||
|
|
||||||
# get list of contacts
|
# get list of contacts
|
||||||
# add contact
|
# add contact
|
||||||
# remove contact
|
# remove contact
|
||||||
@ -568,7 +567,15 @@ paths:
|
|||||||
# get contact content&conversation revision
|
# get contact content&conversation revision
|
||||||
# set contact content&conversation revision
|
# set contact content&conversation revision
|
||||||
|
|
||||||
|
## Content Module
|
||||||
|
|
||||||
|
# get article block view [ { articleBlockId, revision } ]
|
||||||
|
# get article view (blockId, articleFilter, labelFilter, tagFilter): [ { articleId, revision, type, data, created, modified, labelId[], tagView: {
|
||||||
|
# revision, count, tag: { type, data, created, modified }
|
||||||
|
# } ]
|
||||||
|
# get tags (contentId, filter): [ { tagId, revision, type, data, created, modified } ] //not cached
|
||||||
|
# get labels (filter): [ { labelId, revision, type, data, created, modified } ]
|
||||||
|
|
||||||
externalDocs:
|
externalDocs:
|
||||||
description: Find out more about Swagger
|
description: Find out more about Swagger
|
||||||
url: 'http://swagger.io'
|
url: 'http://swagger.io'
|
||||||
|
Loading…
Reference in New Issue
Block a user