测试从swagger自动生成API¶
test API¶
-
GET
/odc/v3/databases
¶ sssss
desc desc
Example request:
GET /odc/v3/databases?session_id=example_value& HTTP/1.1 Host: timger.com.cn Accept: application/json,
Example response:
HTTP/1.1 200 OK Vary: Accept Content-Type: text/javascript [ { "id": 58, "name": "string" } ]
Query Parameters: - session_id (string) – session_id query parameter session_id is not required
Request Headers: - Accept – application/json,
- Authorization – optional OAuth token to authenticate
Response Headers: - Content-Type – /,
Status Codes: - 404 Not Found – Not Found
- 200 OK – OK
- 401 Unauthorized – Unauthorized
- 403 Forbidden – Forbidden