update api docs
This commit is contained in:
parent
928cc11663
commit
acee02f368
2 changed files with 12 additions and 12 deletions
|
@ -138,14 +138,14 @@ def addAnnotation(request, data):
|
||||||
'''
|
'''
|
||||||
Adds a single annotation
|
Adds a single annotation
|
||||||
takes {
|
takes {
|
||||||
item: string, (item id)
|
item: string, // item id
|
||||||
layer: string, (annotation layer id)
|
layer: string, // annotation layer id
|
||||||
in: float,
|
in: float, // in point in seconds
|
||||||
out: float,
|
out: float, // out point in seconds
|
||||||
value: string
|
value: string // annotation value
|
||||||
}
|
}
|
||||||
returns {
|
returns {
|
||||||
id: string, (annotation id)
|
id: string, // annotation id
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
'''
|
'''
|
||||||
|
@ -179,13 +179,13 @@ def addAnnotations(request, data):
|
||||||
'''
|
'''
|
||||||
Adds multiple annotations
|
Adds multiple annotations
|
||||||
takes {
|
takes {
|
||||||
item: string (item id),
|
item: string, // item id
|
||||||
layer: string (annotation layer id),
|
layer: string, // annotation layer id
|
||||||
annotations: [
|
annotations: [
|
||||||
{
|
{
|
||||||
in: float,
|
in: float, // in point in seconds
|
||||||
out: float,
|
out: float, // out point in seconds
|
||||||
value: string
|
value: string // annotation value
|
||||||
},
|
},
|
||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
|
|
@ -499,7 +499,7 @@ def add(request, data):
|
||||||
'''
|
'''
|
||||||
Adds a new item (without video)
|
Adds a new item (without video)
|
||||||
takes {
|
takes {
|
||||||
title: string (optional)
|
title: string, // optional
|
||||||
}
|
}
|
||||||
returns {
|
returns {
|
||||||
id: string,
|
id: string,
|
||||||
|
|
Loading…
Reference in a new issue