update postman collection w/favoritesc

This commit is contained in:
kasisnu authored and Brandon Thomas committed 2023-11-21 14:59:27 -05:00
1 parent b436b07955
commit b2bdf16c1c
2 files changed
+73 -6

No files matched your search

@@ -25,10 +25,6 @@ CREATE TABLE favorites
-- The token of the entity the favorite applies to
entity_token VARCHAR(32) NOT NULL,
-- For abuse tracking.
-- Wide enough for IPv4/6
creator_ip_address VARCHAR(40) NOT NULL,
-- ========== VECTOR CLOCK ==========
-- Incremented with every update.
@@ -1,9 +1,9 @@
{
"info": {
"_postman_id": "febcb082-e71c-46c4-a172-adf736e01298",
"_postman_id": "5b9aab26-f591-4264-b75b-3075dbeaf6df",
"name": "Base Service Collection",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "30159615"
"_exporter_id": "10633600"
},
"item": [
{
@@ -84,6 +84,77 @@
}
]
},
{
"name": "Favorites",
"item": [
{
"name": "List Favorites",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/v1/favorites/list/user/U:0XTEZ7HX29B9C",
"host": [
"{{baseUrl}}"
],
"path": [
"v1",
"favorites",
"list",
"user",
"U:0XTEZ7HX29B9C"
]
}
},
"response": []
},
{
"name": "Create Favorite",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{baseUrl}}/v1/comments/new",
"host": [
"{{baseUrl}}"
],
"path": [
"v1",
"comments",
"new"
]
}
},
"response": []
},
{
"name": "Delete Favorite",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "{{baseUrl}}/v1/favorites/delete/:favorite_token",
"host": [
"{{baseUrl}}"
],
"path": [
"v1",
"favorites",
"delete",
":favorite_token"
],
"variable": [
{
"key": "favorite_token",
"value": ""
}
]
}
},
"response": []
}
]
},
{
"name": "Animations",
"item": [