diff --git a/.bruno/Authenticated/Admin Requests/Channel Management [Admin]/Ban Channel.bru b/.bruno/Authenticated/Admin Requests/Channel Management [Admin]/Ban Channel.bru new file mode 100644 index 0000000..d0f4e61 --- /dev/null +++ b/.bruno/Authenticated/Admin Requests/Channel Management [Admin]/Ban Channel.bru @@ -0,0 +1,17 @@ +meta { + name: Ban Channel + type: http + seq: 1 +} + +put { + url: http://localhost:8166/api/channel/ban?user=[discord-user-id]&a=[discord-user-id]&channel=[discord-channel-id] + body: none + auth: inherit +} + +params:query { + user: [discord-user-id] + a: [discord-user-id] + channel: [discord-channel-id] +} diff --git a/.bruno/Authenticated/Admin Requests/Channel Management [Admin]/Unban Channel.bru b/.bruno/Authenticated/Admin Requests/Channel Management [Admin]/Unban Channel.bru new file mode 100644 index 0000000..1ff51b1 --- /dev/null +++ b/.bruno/Authenticated/Admin Requests/Channel Management [Admin]/Unban Channel.bru @@ -0,0 +1,17 @@ +meta { + name: Unban Channel + type: http + seq: 2 +} + +put { + url: http://localhost:8166/api/channel/unban?user=[discord-user-id]&a=[discord-user-id]&channel=[discord-channel-id] + body: none + auth: inherit +} + +params:query { + user: [discord-user-id] + a: [discord-user-id] + channel: [discord-channel-id] +} diff --git a/.bruno/Authenticated/Admin Requests/Channel Management [Admin]/folder.bru b/.bruno/Authenticated/Admin Requests/Channel Management [Admin]/folder.bru new file mode 100644 index 0000000..d4046da --- /dev/null +++ b/.bruno/Authenticated/Admin Requests/Channel Management [Admin]/folder.bru @@ -0,0 +1,3 @@ +meta { + name: Channel Management [Admin] +} diff --git a/.bruno/Authenticated/Admin Requests/Key Management [Admin]/Activate API Key.bru b/.bruno/Authenticated/Admin Requests/Key Management [Admin]/Activate API Key.bru new file mode 100644 index 0000000..8d2f005 --- /dev/null +++ b/.bruno/Authenticated/Admin Requests/Key Management [Admin]/Activate API Key.bru @@ -0,0 +1,16 @@ +meta { + name: Activate API Key + type: http + seq: 2 +} + +put { + url: http://localhost:8166/api/key/activate?user=[discord-user-id]&a=[discord-user-id] + body: none + auth: inherit +} + +params:query { + user: [discord-user-id] + a: [discord-user-id] +} diff --git a/.bruno/Authenticated/Admin Requests/Key Management [Admin]/Ban API Key.bru b/.bruno/Authenticated/Admin Requests/Key Management [Admin]/Ban API Key.bru new file mode 100644 index 0000000..1a41930 --- /dev/null +++ b/.bruno/Authenticated/Admin Requests/Key Management [Admin]/Ban API Key.bru @@ -0,0 +1,16 @@ +meta { + name: Ban API Key + type: http + seq: 4 +} + +put { + url: http://localhost:8166/api/key/ban?user=[discord-user-id]&a=[discord-user-id] + body: none + auth: inherit +} + +params:query { + user: [discord-user-id] + a: [discord-user-id] +} diff --git a/.bruno/Authenticated/Admin Requests/Key Management [Admin]/Deactivate API Key.bru b/.bruno/Authenticated/Admin Requests/Key Management [Admin]/Deactivate API Key.bru new file mode 100644 index 0000000..db2050b --- /dev/null +++ b/.bruno/Authenticated/Admin Requests/Key Management [Admin]/Deactivate API Key.bru @@ -0,0 +1,16 @@ +meta { + name: Deactivate API Key + type: http + seq: 3 +} + +put { + url: http://localhost:8166/api/key/deactivate?user=[discord-user-id]&a=[discord-user-id] + body: none + auth: inherit +} + +params:query { + user: [discord-user-id] + a: [discord-user-id] +} diff --git a/.bruno/Authenticated/Admin Requests/Key Management [Admin]/Generate API Key.bru b/.bruno/Authenticated/Admin Requests/Key Management [Admin]/Generate API Key.bru new file mode 100644 index 0000000..8c528fd --- /dev/null +++ b/.bruno/Authenticated/Admin Requests/Key Management [Admin]/Generate API Key.bru @@ -0,0 +1,16 @@ +meta { + name: Generate API Key + type: http + seq: 1 +} + +get { + url: http://localhost:8166/api/key?user=[discord-user-id]&a=[discord-user-id] + body: none + auth: inherit +} + +params:query { + user: [discord-user-id] + a: [discord-user-id] +} diff --git a/.bruno/Authenticated/Admin Requests/Key Management [Admin]/Unban API Key.bru b/.bruno/Authenticated/Admin Requests/Key Management [Admin]/Unban API Key.bru new file mode 100644 index 0000000..d1512d0 --- /dev/null +++ b/.bruno/Authenticated/Admin Requests/Key Management [Admin]/Unban API Key.bru @@ -0,0 +1,16 @@ +meta { + name: Unban API Key + type: http + seq: 5 +} + +put { + url: http://localhost:8166/api/key/unban?user=[discord-user-id]&a=[discord-user-id] + body: none + auth: inherit +} + +params:query { + user: [discord-user-id] + a: [discord-user-id] +} diff --git a/.bruno/Authenticated/Admin Requests/Key Management [Admin]/folder.bru b/.bruno/Authenticated/Admin Requests/Key Management [Admin]/folder.bru new file mode 100644 index 0000000..75366ef --- /dev/null +++ b/.bruno/Authenticated/Admin Requests/Key Management [Admin]/folder.bru @@ -0,0 +1,3 @@ +meta { + name: Key Management [Admin] +} diff --git a/.bruno/Authenticated/Admin Requests/folder.bru b/.bruno/Authenticated/Admin Requests/folder.bru new file mode 100644 index 0000000..1a5532a --- /dev/null +++ b/.bruno/Authenticated/Admin Requests/folder.bru @@ -0,0 +1,3 @@ +meta { + name: Admin Requests +} diff --git a/.bruno/Authenticated/Channel Management/Activate Channel.bru b/.bruno/Authenticated/Channel Management/Activate Channel.bru new file mode 100644 index 0000000..c497e97 --- /dev/null +++ b/.bruno/Authenticated/Channel Management/Activate Channel.bru @@ -0,0 +1,16 @@ +meta { + name: Activate Channel + type: http + seq: 3 +} + +put { + url: http://localhost:8166/api/channel/activate?user=[discord-user-id]&channel=[discord-channel-id] + body: none + auth: inherit +} + +params:query { + user: [discord-user-id] + channel: [discord-channel-id] +} diff --git a/.bruno/Authenticated/Channel Management/Add Channel.bru b/.bruno/Authenticated/Channel Management/Add Channel.bru new file mode 100644 index 0000000..febf559 --- /dev/null +++ b/.bruno/Authenticated/Channel Management/Add Channel.bru @@ -0,0 +1,16 @@ +meta { + name: Add Channel + type: http + seq: 2 +} + +post { + url: http://localhost:8166/api/channel/add?user=[discord-user-id]&channel=[discord-channel-id] + body: none + auth: inherit +} + +params:query { + user: [discord-user-id] + channel: [discord-channel-id] +} diff --git a/.bruno/Authenticated/Channel Management/Deactivate Channel.bru b/.bruno/Authenticated/Channel Management/Deactivate Channel.bru new file mode 100644 index 0000000..b5d963a --- /dev/null +++ b/.bruno/Authenticated/Channel Management/Deactivate Channel.bru @@ -0,0 +1,16 @@ +meta { + name: Deactivate Channel + type: http + seq: 4 +} + +put { + url: http://localhost:8166/api/channel/deactivate?user=[discord-user-id]&channel=[discord-channel-id] + body: none + auth: inherit +} + +params:query { + user: [discord-user-id] + channel: [discord-channel-id] +} diff --git a/.bruno/Authenticated/Channel Management/Get Channels.bru b/.bruno/Authenticated/Channel Management/Get Channels.bru new file mode 100644 index 0000000..8592ac6 --- /dev/null +++ b/.bruno/Authenticated/Channel Management/Get Channels.bru @@ -0,0 +1,15 @@ +meta { + name: Get Channels + type: http + seq: 1 +} + +get { + url: http://localhost:8166/api/channel?user=[discord-user-id] + body: none + auth: inherit +} + +params:query { + user: [discord-user-id] +} diff --git a/.bruno/Authenticated/Channel Management/folder.bru b/.bruno/Authenticated/Channel Management/folder.bru new file mode 100644 index 0000000..63ae929 --- /dev/null +++ b/.bruno/Authenticated/Channel Management/folder.bru @@ -0,0 +1,3 @@ +meta { + name: Channel Management +} diff --git a/.bruno/Authenticated/Key Management/Delete API Key.bru b/.bruno/Authenticated/Key Management/Delete API Key.bru new file mode 100644 index 0000000..79b6b24 --- /dev/null +++ b/.bruno/Authenticated/Key Management/Delete API Key.bru @@ -0,0 +1,17 @@ +meta { + name: Delete API Key + type: http + seq: 1 +} + +delete { + url: http://localhost:8166/api/key/delete?user=[discord-user-id]&email=[email-address]&code=[optional:delete-code] + body: none + auth: inherit +} + +params:query { + user: [discord-user-id] + email: [email-address] + code: [optional:delete-code] +} diff --git a/.bruno/Authenticated/Key Management/folder.bru b/.bruno/Authenticated/Key Management/folder.bru new file mode 100644 index 0000000..42cdf8b --- /dev/null +++ b/.bruno/Authenticated/Key Management/folder.bru @@ -0,0 +1,3 @@ +meta { + name: Key Management +} diff --git a/.bruno/Authenticated/Roll Requests/Roll Dice.bru b/.bruno/Authenticated/Roll Requests/Roll Dice.bru new file mode 100644 index 0000000..61a70b8 --- /dev/null +++ b/.bruno/Authenticated/Roll Requests/Roll Dice.bru @@ -0,0 +1,26 @@ +meta { + name: Roll Dice + type: http + seq: 1 +} + +get { + url: http://localhost:8166/api/roll?user=[discord-user-id]&channel=[discord-channel-id]&rollstr=[artificer-roll-cmd]&documentation=All items below are optional. Flags do not need values.&nd=[no-details-flag]&snd=[super-no-details-flag]&s=[spoiler-results-flag]&m=[max-roll-flag, cannot be used with n flag]&n=[nominal-roll-flag, cannot be used with m flag]&gms=[csv-of-discord-user-ids-to-be-dmed-results]&o=[order-rolls, must be a or d]&c=[count-flag] + body: none + auth: inherit +} + +params:query { + user: [discord-user-id] + channel: [discord-channel-id] + rollstr: [artificer-roll-cmd] + documentation: All items below are optional. Flags do not need values. + nd: [no-details-flag] + snd: [super-no-details-flag] + s: [spoiler-results-flag] + m: [max-roll-flag, cannot be used with n flag] + n: [nominal-roll-flag, cannot be used with m flag] + gms: [csv-of-discord-user-ids-to-be-dmed-results] + o: [order-rolls, must be a or d] + c: [count-flag] +} diff --git a/.bruno/Authenticated/Roll Requests/folder.bru b/.bruno/Authenticated/Roll Requests/folder.bru new file mode 100644 index 0000000..e0ba54f --- /dev/null +++ b/.bruno/Authenticated/Roll Requests/folder.bru @@ -0,0 +1,3 @@ +meta { + name: Roll Requests +} diff --git a/.bruno/Authenticated/folder.bru b/.bruno/Authenticated/folder.bru new file mode 100644 index 0000000..e370950 --- /dev/null +++ b/.bruno/Authenticated/folder.bru @@ -0,0 +1,7 @@ +meta { + name: Authenticated +} + +headers { + X-Api-Key: [YOUR-API-KEY-HERE] +} diff --git a/.bruno/Unauthenticated/Get Heatmap Image.bru b/.bruno/Unauthenticated/Get Heatmap Image.bru new file mode 100644 index 0000000..e54b1fd --- /dev/null +++ b/.bruno/Unauthenticated/Get Heatmap Image.bru @@ -0,0 +1,11 @@ +meta { + name: Get Heatmap Image + type: http + seq: 2 +} + +get { + url: http://localhost:8166/api/heatmap.png + body: none + auth: inherit +} diff --git a/.bruno/Unauthenticated/Request API Key.bru b/.bruno/Unauthenticated/Request API Key.bru new file mode 100644 index 0000000..ec193cb --- /dev/null +++ b/.bruno/Unauthenticated/Request API Key.bru @@ -0,0 +1,16 @@ +meta { + name: Request API Key + type: http + seq: 1 +} + +get { + url: http://localhost:8166/api/key?user=[discord-user-id]&email=[email-address] + body: none + auth: inherit +} + +params:query { + user: [discord-user-id] + email: [email-address] +} diff --git a/.bruno/Unauthenticated/folder.bru b/.bruno/Unauthenticated/folder.bru new file mode 100644 index 0000000..6f3da2c --- /dev/null +++ b/.bruno/Unauthenticated/folder.bru @@ -0,0 +1,3 @@ +meta { + name: Unauthenticated +} diff --git a/.bruno/bruno.json b/.bruno/bruno.json new file mode 100644 index 0000000..c92e82c --- /dev/null +++ b/.bruno/bruno.json @@ -0,0 +1,12 @@ +{ + "version": "1", + "name": "The Artificer API", + "type": "collection", + "ignore": [ + ".git" + ], + "presets": { + "requestType": "http", + "requestUrl": "http://localhost:8166/api" + } +} \ No newline at end of file diff --git a/.bruno/collection.bru b/.bruno/collection.bru new file mode 100644 index 0000000..732ab0c --- /dev/null +++ b/.bruno/collection.bru @@ -0,0 +1,3 @@ +auth { + mode: none +}