REST API

API calls with USE KEY declaration must use a valid API key as URL parameter: "?apikey=0123456789abcdef".

  1. API call example #1

    https://mini.gscloud.cz/api/v1/call1/[a:string]
    fn: usage:
    REST: GET    PUBLIC     FINISHED   

    Example(s):Example(s):Example(s):
    https://mini.gscloud.cz/api/v1/call1/foo
    https://mini.gscloud.cz/api/v1/call1/bar42
    https://mini.gscloud.cz/api/v1/call1/666

    Returns: array of records

  2. API call example #2

    https://mini.gscloud.cz/api/v1/call2/[i:number]
    fn: usage:
    REST: GET    PUBLIC     FINISHED   

    Example(s):Example(s):Example(s):Example(s):
    https://mini.gscloud.cz/api/v1/call2/42
    https://mini.gscloud.cz/api/v1/call2/0
    https://mini.gscloud.cz/api/v1/call2/1
    https://mini.gscloud.cz/api/v1/call2/error

    Returns: array of records

  3. Get error page

    https://mini.gscloud.cz/err/[i:code]
    fn: usage:
    REST: GET|POST    PUBLIC   

    Example(s):Example(s):Example(s):
    https://mini.gscloud.cz/err/404
    https://mini.gscloud.cz/err/420
    https://mini.gscloud.cz/err/500

    Parameters:
    <code> - numeric error code

    Returns: HTML page.

  4. Show REST API dashboard

    https://mini.gscloud.cz/api
    fn: usage:
    REST: GET    PUBLIC   

    This page 🐱