List
List
get/v2/me/vals
[BETA] List all of a user's vals for authenticated users
Query Parameters
limitnumber
Maximum items to return in each paginated response
minimum1
maximum100
offsetnumber
Number of items to skip in order to deliver paginated results
minimum0
Returns
dataarray of idstringauthorobjectcreatedAtstringdescriptionstringimageUrlstringlinksobjectnamestringprivacyenumVal
linksselfstringnextstringprevstringPaginationLinks
Links to use for pagination
curl https://api.val.town/v2/me/vals \
-d '{}'200 Example
{
"data": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"author": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"username": "username"
},
"createdAt": "2019-12-27T18:11:19.117Z",
"description": "description",
"imageUrl": "imageUrl",
"links": {
"html": "https://example.com",
"self": "https://example.com"
},
"name": "name",
"privacy": "public"
}
],
"links": {
"self": "https://example.com",
"next": "https://example.com",
"prev": "https://example.com"
}
}