Download OpenAPI specification:Download
{- "result": "success"
}ファイル(PDF)のアップロード
| file required | string <binary> アップロードするPDFファイル |
| name required | string ファイル名 |
{ "file": "ファイル", "name": "ファイル名" }
{- "result": "success",
- "data": {
- "type": "own",
- "file": {
- "id": "string",
- "name": "filename",
- "postedAt": "2019-08-24T14:15:22Z",
}, - "updatedAt": "2019-08-24T14:15:22Z",
}
}{- "result": "success",
- "data": [
- {
- "type": "own",
- "file": {
- "id": "file_id",
- "name": "filename",
- "postedAt": "2019-08-24T14:15:22Z",
}, - "updatedAt": "2019-08-25T14:15:22Z",
}, - {
- "type": "shared",
- "file": {
- "id": "file_id2",
- "name": "filename",
- "postedAt": "2019-08-24T14:15:22Z",
}, - "updatedAt": "2019-08-25T14:15:22Z",
}
]
}{- "result": "success",
- "data": {
- "fileSnapshot": {
- "type": "own",
- "file": {
- "id": "string",
- "name": "filename",
- "postedAt": "2019-08-24T14:15:22Z",
}, - "updatedAt": "2019-08-24T14:15:22Z",
}, - "stamps": [
- {
- "id": 0,
- "comments": [
- {
- "id": 1,
- "dataType": "audio",
- "postedAt": "2019-08-24T14:15:22Z"
}, - {
- "id": 2,
- "dataType": "text",
- "content": "コメント",
- "postedAt": "2019-08-25T14:15:22Z"
}
], - "position": {
- "page": 0,
- "x": 0.3,
- "y": 0.45
}
}
]
}
}スタンプと、スレッドの一つめのコメントを投稿する
| fileId required | string |
| page required | integer スタンプを追加するページ |
| x required | integer 該当ページの左上を原点としたx座標(0~1に正規化) |
| y required | integer 該当ページの左上を原点としたy座標(0~1に正規化) |
| dataType required | string (schemas) Enum: "audio" "text" コメントのデータの種類(音声 or テキスト) |
| content required | string 文字列(テキスト)または音声ファイル(オーディオ) |
| title | string コメントのタイトル(音声データの場合のみ含む) |
{ "page": 1, "x": 0.2, "y": 0.8, "dataType": "audio", "content": "string" }
{- "result": "success",
- "data": {
- "id": 0,
- "comments": [
- {
- "id": 1,
- "dataType": "audio",
- "content": "audio file binary or url to audio file",
- "postedAt": "2019-08-24T14:15:22Z",
- "title": "タイトル"
}
], - "position": {
- "page": 0,
- "x": 0,
- "y": 0
}
}
}コメントを投稿する
| fileId required | string |
| stampId required | string |
| dataType required | string (schemas) Enum: "audio" "text" コメントのデータの種類(音声 or テキスト) |
| content required | string 文字列(テキスト)または音声バイナリ(オーディオ) |
| title | string コメントのタイトル(音声データの場合のみ含む) |
{ "dataType": "audio", "content": "string", "title": "タイトル" }
{- "result": "success",
- "data": {
- "id": 1,
- "dataType": "audio",
- "content": "string",
- "postedAt": "2019-08-24T14:15:22Z",
- "title": "タイトル"
}
}