{{template "base"}}
ID | Integer |
Hash | String |
ThumbHashes | [ ]Thumbnail |
Mime | String |
Deleted | Boolean |
Tags | [ ]Tag |
Hash | String |
Size | Integer |
Tag | String |
Namespace | String |
Tag | String |
Arg | Type | Required | Description |
---|---|---|---|
id | Integer | No* | *At least one identifier must be used |
ipfs | String | No* | Ipfs CID |
md5 | String | No* | MD5 checksum |
sha256 | String | No* | Sha256 checksum |
combTagNamespace | Boolean | No | Combine tags with their namespace. Useful for tag parsing in hydrus |
Name | Type |
---|---|
ID | Integer |
Hash | String |
ThumbHashes | [ ]Thumbnail |
Mime | String |
Deleted | Boolean |
Tags | [ ]Tag |
Example query:
/api/v1/post?id=10
Arg | Type | Required | Description |
---|---|---|---|
tags | String | No | |
filter | String | No | |
unless | String | No | |
limit | Integer | No | 0 - 100 |
offset | Integer | No | |
order | String | No | Possible values: "asc", "desc", "random", "score" Default: "desc" |
mime-type | String | No | Example values: "image", "video" |
mime | String | No | Example values: "png", "gif", "mp4" |
inclTags | Boolean | No | Include post tags in the result |
combTagNamespace | Boolean | No |
Name | Type |
---|---|
TotalPosts | Integer |
Posts | [ ]Post |
Example queries: