falcon_plus_api v0.2.1 FalconPlusApi.Api.Default

Summary

Functions

透过Session检查去判定使用者可否存取资源

  • Session Required
  • q: 使用 regex 查询字符
  • option 参数

Functions

authentication(post_param, addr \\ nil, options \\ [])

透过Session检查去判定使用者可否存取资源

RequestHeader

透过RequestHeader 的 Apitoken做验证 "RequestHeader": { "Apitoken": "{"name":"root","sig":"427d6803b78311e68afd0242ac130006"}", "X-Forwarded-For": " 127.0.0.1" }

Response

Session 为有效 Status: 200 {"message":"session is vaild!"}

For errors responses, see the response status codes documentation.

endpoints(sig, addr \\ nil, options \\ [])
  • Session Required
  • q: 使用 regex 查询字符
  • option 参数

Response

Status: 200 [ { "endpoint": "docker-agent", "id": 7 }, { "endpoint": "docker-task", "id": 6 }, { "endpoint": "graph", "id": 3 }, { "endpoint": "nodata", "id": 920 }, { "endpoint": "task", "id": 5 } ]