Transferring API Description file

This commit is contained in:
Sander 2016-09-10 17:08:00 +02:00
Родитель 6e25bddac9
Коммит 02b232ee27
1 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -9,7 +9,7 @@ info:
name: AGPL
url: https://github.com/nextcloud/passman/blob/master/LICENSE
# the domain of the service
host: localhost
host: api.uber.com
# array of all schemes that your API supports
schemes:
- https
@ -321,7 +321,7 @@ definitions:
vault_id:
type: integer
format: int64
description: The id of the vault
description: The id of the vault, generated by uniqid()
name:
type: string
description: Name of the vault
@ -336,6 +336,7 @@ definitions:
item_id:
type: integer
format: int64
description: generated by uniqid()
user_id:
type: string
vault:
@ -425,7 +426,7 @@ definitions:
file_id:
type: integer
format: int64
description: The file id
description: The file id, generated by uniqid()
filename:
type: string
description: The uploaded file name
@ -440,7 +441,7 @@ definitions:
description: Size of the file in bytes
file_data:
type: string
description: sjcl encrypted file
description: sjcl encrypted file (only given when downloading a file)
created:
type: string
format: dateTime