42 lines
1.7 KiB
Org Mode
42 lines
1.7 KiB
Org Mode
#+TITLE: TFC Support
|
|
#+AUTHOR: Chris Cochrun
|
|
|
|
** Support Table
|
|
#+begin_src restclient
|
|
GET https://table.tfcconnection.org/api/v2.1/dtable/app-access-token/
|
|
Authorization: Token c29b7b15db0bdd22b9b03cc4cbcb705eb5db2812
|
|
Accept: application/json; charset=utf-8; indent=4
|
|
#+end_src
|
|
|
|
#+RESULTS:
|
|
#+BEGIN_SRC js
|
|
{
|
|
"app_name": "automation",
|
|
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MzQyOTIxMDksImR0YWJsZV91dWlkIjoiNTIwNTZlODEtODJmMS00MjE3LWJmZDAtNzRkNzgxMDFiZTI1IiwidXNlcm5hbWUiOiIiLCJwZXJtaXNzaW9uIjoicnciLCJhcHBfbmFtZSI6ImF1dG9tYXRpb24ifQ.hUqQPAAad_sHkpeE6TZFtDBNSE5x14My0GEAnHGvtIc",
|
|
"dtable_uuid": "52056e81-82f1-4217-bfd0-74d78101be25",
|
|
"dtable_server": "https://table.tfcconnection.org/dtable-server/",
|
|
"dtable_socket": "https://table.tfcconnection.org/",
|
|
"workspace_id": 1,
|
|
"dtable_name": "support"
|
|
}
|
|
// GET https://table.tfcconnection.org/api/v2.1/dtable/app-access-token/
|
|
// HTTP/1.1 200 OK
|
|
// Allow: GET, HEAD, OPTIONS
|
|
// Content-Language: en
|
|
// Content-Type: application/json
|
|
// Date: Tue, 12 Oct 2021 10:01:49 GMT
|
|
// Server: Caddy
|
|
// Server: nginx/1.20.1
|
|
// Vary: Accept, Accept-Language, Cookie
|
|
// Transfer-Encoding: chunked
|
|
// Request duration: 0.093256s
|
|
#+END_SRC
|
|
|
|
Get the table's stuff
|
|
#+begin_src restclient :results value :wrap SRC js
|
|
GET https://table.tfcconnection.org/dtable-server/dtables/52056e81-82f1-4217-bfd0-74d78101be25
|
|
Authorization: Token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MzQyOTIxMDksImR0YWJsZV91dWlkIjoiNTIwNTZlODEtODJmMS00MjE3LWJmZDAtNzRkNzgxMDFiZTI1IiwidXNlcm5hbWUiOiIiLCJwZXJtaXNzaW9uIjoicnciLCJhcHBfbmFtZSI6ImF1dG9tYXRpb24ifQ.hUqQPAAad_sHkpeE6TZFtDBNSE5x14My0GEAnHGvtIc
|
|
Accept: application/json; charset=utf-8; indent=4
|
|
#+end_src
|
|
|