You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/spec.json
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1438,9 +1438,21 @@
1438
1438
},
1439
1439
{
1440
1440
"appTokenQuery": []
1441
+
},
1442
+
{
1443
+
"clientTokenAuthorizationHeader": []
1444
+
},
1445
+
{
1446
+
"clientTokenHeader": []
1447
+
},
1448
+
{
1449
+
"clientTokenQuery": []
1450
+
},
1451
+
{
1452
+
"basicAuth": []
1441
1453
}
1442
1454
],
1443
-
"description": "__NOTE__: This API ONLY accepts an application token as authentication.",
1455
+
"description": "__NOTE__: When authenticating with a client token or basic auth, the request body\nmust include \"appid\" referencing an application owned by the authenticated user.\nWhen authenticating with an application token, the application is derived from the\ntoken and any \"appid\" in the body is ignored.",
doRequestAndExpect(s.T(), req, 400, `{"error":"Bad Request", "errorCode":400, "errorDescription":"appid is required when not authenticating with an application token"}`)
0 commit comments