Api Backend
v0.0.1
24.08.2016
- Collections has new properties:
description
anddocuments_count
04.08.2016
-
HTTP Interface of type
multipart/form-data
now works different. The example:Old payload:
curl -X POST -H "Content-Type: multipart/form-data" -F name=andrey -F age=27 -F hobbies=Programming -F hobbies=Cinema -F hobbies=Music https://myproject.deform.io/api/collections/test/documents/
New payload:
curl -X POST -H "Content-Type: multipart/form-data" -F name='"andrey"' -F age='27' -F hobbies='["Programming", "Cinema", "Music"]'
22.06.2016
- Hooks now has a property
retry
which can be used to control retry policy. By Default it'sexponential
{ "retry": { "strategy": "exponential" } }
21.06.2016
-
Hooks now has a property
timeout
which can be used to control timeouts{ "timeout": { "type": "object", "properties": { "read": { "type": "number", "description": "number of seconds to read response. default is 5", "minimum": 0.01, "maximum": 90 }, "connect": { "minimum": 0.01, "maximum": 90, "type": "number", "description": "number of seconds to establish a connection. default is 1" } } } }
-
HooksHistory property
uuid
migrated toid
.
17.06.2016
- New processor added.
yandex_speechkit_tts
- text to speech processor.
14.06.2016
- Project
_debug
system collection added.
12.06.2016
-
HTTP Interface changes:
result
changed from{ "result": { "message": "Page not found." } }
to
{ "message": "Page not found." }
payload
no longer required
31.05.2016
- Processor's schema part
source
is no longer required. - Multipart upload. Uploading array of files to a collection without schema will upload first file.
- Hooks creation no longer requires
conditions
property. If you pass it - all documents will be allowed to trigger a hook.
07.05.2016
- System collection
_usage
added. - Project
status.is_active
property added. - 404 now has general error interface.
{ "result": { "message": "Page not found." } }
03.05.2016
- Processors changed:
- apiai - has customer settings now
30.04.2016
- User can have 5 projects.
17.04.2016
- Collection and Project support
fields
andfields_exclude
.
30.03.2016
- Watermark processor fix. No url required. Watermark file is required.
18.03.2016
- Processor dependency recursion detection implemented.
- ProcessOnly mechanism implemented.
12.03.2016
-
Http Api Response interface migrated from
{ "error": [ ] }
to
{ "result": { "message": "", "errors": [ ], } }
11.03.2016
-
Token permissions migrated from
{ "permission": { "all": true, "read": [], "write": [], "delete": [], "update": [] } }
to
{ "permission": { "allow": { "all": true, "read": [], "write": [], "delete": [], "update": [] } } }
23.02.2016
- Hooks has a timeout 10 seconds
21.02.2016
- New system collection
_users
. - New system collection
_notification
.
20.02.2016
- User email validation
- User can invite another user ( already registered or send invintation email ) to project
19.02.2016
- All queueing operations now commits in goroutines. This should significantly decrease response time.
- Documents can be deleted by criteria.
curl -X POST -H "X-Action: Delete" -H "Content-Type: application/json" -d '{"payload": {"filter": {"_id": {"$in": ["document-8069947-8069947"]}}}}'
14.02.2016
- System collections now have an underscore prefix. It's forbidden to create a collection with an underscore sign.
- System fields
_id
now have an underscore prefix. - Response json interface
error
now is an array of objects. The schema is:{ "property": { "type": ["string", "null"] }, "message": { "type": "string" } }