mirror of
https://github.com/sismics/docs.git
synced 2024-11-21 21:47:57 +01:00
Add mention in the API doc that document endpoint returns the document's metadata (#695)
This commit is contained in:
parent
39f96cbd28
commit
3fd5470eae
@ -143,6 +143,11 @@ public class DocumentResource extends BaseResource {
|
||||
* @apiSuccess {String} files.version Zero-based version number
|
||||
* @apiSuccess {String} files.mimetype MIME type
|
||||
* @apiSuccess {String} files.create_date Create date (timestamp)
|
||||
* @apiSuccess {Object[]} metadata List of metadata
|
||||
* @apiSuccess {String} metadata.id ID
|
||||
* @apiSuccess {String} metadata.name Name
|
||||
* @apiSuccess {String="STRING","INTEGER","FLOAT","DATE","BOOLEAN"} metadata.type Type
|
||||
* @apiSuccess {Object} metadata.value Value
|
||||
* @apiError (client) NotFound Document not found
|
||||
* @apiPermission none
|
||||
* @apiVersion 1.5.0
|
||||
|
Loading…
Reference in New Issue
Block a user