API

GET /osc/info

Overview

Acquires basic information of the camera and supported functions.

Input

None.

Output

NameTypeDescription
manufacturer String Manufacturer name
model String Model
serialNumber String Serial number
firmwareVersion String Firmware version
supportUrl String URL of the support page
gps Boolean Presence of GPS
gyro Boolean Presence of gyroscope
uptime Integer Elapsed time after startup (sec)
api String Array List of supported APIs
endpoints Object Endpoint information (Refer to the next section for details.)
apiLevel Integer Array List of supported APIs
(1: v2.0, 2: v2.1)

endpoints object

Endpoint information

NameTypeDescription
httpPort Integer Port number for using APIs
httpUpdatesPort Integer Port number for status update check (CheckForUpdates)

Example

Response (for THETA V)

    { 
        "manufacturer": "RICOH",
        "model": "RICOH THETA V",
        "serialNumber": "00001234",
        "firmwareVersion": "0.0",
        "supportUrl": "https://theta360.com/en/support/",
        "apiLevel": [2],
        "endpoints": {
            "httpPort": 80,
            "httpUpdatesPort": 80
        }, 
        "gps": false,
        "gyro": true,
        "uptime": 67,
        "api": [
            "/osc/info",
            "/osc/state",
            "/osc/checkForUpdates",
            "/osc/commands/execute",
            "/osc/commands/status"
        ]
    }

Response (for THETA S)

    { 
        "manufacturer": "RICOH",
        "model": "RICOH THETA S",
        "serialNumber": "00001234",
        "firmwareVersion": "1.62",
        "supportUrl": "https://theta360.com/en/support/",
        "apiLevel": [1, 2],
        "endpoints": { 
            "httpPort": 80,
            "httpUpdatesPort": 80 
        },
        "gps": false,
        "gyro": false,
        "uptime": 67,
        "api": [ 
            "/osc/info",
            "/osc/state",
            "/osc/checkForUpdates",
            "/osc/commands/execute",
            "/osc/commands/status"
        ]
    }

Page top