mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-02 00:18:17 +00:00
update postman collection w/favoritesc
This commit is contained in:
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.
|
||||
|
||||
+73
-2
@@ -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": [
|
||||
|
||||
Reference in new issue
Block a user