FTP-Stream APIs
Space shortcuts
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

API endpoint

To perform FTP-Stream API the client application should send api_key. You can obtain api_key on FTP-Stream Control Panel visiting your FTP-Stream account in the Site Properties tab.

URL: https://www.maytech.net/panel/api/<api-version>/<route>[/<action>][/<object-id>]?api_key=<api_key>[&optional_get_parameters]

 

  • <api-version> - API Version. Current version is 1.0
  • <route> - FTP-Stream API route.
  • <action> - FTP-Stream API action.
  • <object-id> - universally unique FTP-Stream object identifier.
  • <api_key> - FTP-Stream API key.
  • <optional_get_parameters> - optional request parameters

Example Request URL

GET https://www.maytech.net/panel/api/1.0/user/00000000-0000-0000-0000-000000000000/?api_key=12345678-0000-0000-0000-000000000000&fields=login,real_name
 

Example Result

HTTP/1.1 200 OK
Content-Type: application/json

{"status":"OK","data":{"login":"demo","real_name":"John Smith"}}
  • No labels