## 概要 cf. [`POST /notes`](https://spec.pulsate.dev/endpoint/notes.html#post-notes) ```jsonc { // 略 "attachment_files": [ { "id": "11938472", "filename": "hello.png", "content_type": "image/png", "url": "https://example.com/images/hello.png", "blur": "eoig:woi!our@nj/d", "nsfw": false } ] } ``` cf. [`GET /drive`](https://spec.pulsate.dev/endpoint/drive.html#get-drive) ```jsonc [ { "id": "2938492384", "name": "image.jpeg", "author_id": "384880009940302", "hash": "nf9:e;g711*c@drgj55", "mime": "image/jpeg", "nsfw": false, "url": "https://images.example.com/image.jpeg", "thumbnail": "https://images.example.com/thumb-image.jpeg" } ] ``` 違う部分: - `name`が`filename`になっている - `mime`が`content_type`になっている - `thumbnail`がない - `hash`が`blur`になっている - `author_id`がない これらの差異を無くし、drive apiと合わせる
概要
cf.
POST /notes{ // 略 "attachment_files": [ { "id": "11938472", "filename": "hello.png", "content_type": "image/png", "url": "https://example.com/images/hello.png", "blur": "eoig:woi!our@nj/d", "nsfw": false } ] }cf.
GET /drive[ { "id": "2938492384", "name": "image.jpeg", "author_id": "384880009940302", "hash": "nf9:e;g711*c@drgj55", "mime": "image/jpeg", "nsfw": false, "url": "https://images.example.com/image.jpeg", "thumbnail": "https://images.example.com/thumb-image.jpeg" } ]違う部分:
nameがfilenameになっているmimeがcontent_typeになっているthumbnailがないhashがblurになっているauthor_idがないこれらの差異を無くし、drive apiと合わせる