List tags
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/tags \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/tags"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://nemonist.com/api/v1/folders/{id}/tags', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"tags": [
{
"name": "<string>",
"commit": "<string>",
"kept": true,
"message": "<string>",
"by": "<string>",
"created": "<string>",
"commitAt": "<string>",
"commitMessage": "<string>",
"html_url": "<string>",
"tree_url": "<string>",
"zipball_url": "<string>"
}
]
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}Folders
List tags
The folder’s tags, newest first (git tag —sort=-creatordate, GitHub’s /tags): each names one commit and works wherever a commit id does (commits/, tree?at=, memory/?at=, zipball/, export?ref=). A full commit id wins over a tag of the same name. A tag whose commit has aged out of the kept history is listed with kept false, and resolving it answers 404.
GET
/
folders
/
{id}
/
tags
List tags
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/tags \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/tags"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://nemonist.com/api/v1/folders/{id}/tags', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"tags": [
{
"name": "<string>",
"commit": "<string>",
"kept": true,
"message": "<string>",
"by": "<string>",
"created": "<string>",
"commitAt": "<string>",
"commitMessage": "<string>",
"html_url": "<string>",
"tree_url": "<string>",
"zipball_url": "<string>"
}
]
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}