Hiccup API

Overview

Version information

Version : v1

URI scheme

BasePath : /

Consumes

  • application/json

Produces

  • application/json

Paths

POST /hiccup/api/v1/crashreports/

Body parameter

Name : data
Flags : required
Type : CrashReport

Responses

HTTP CodeSchema
201CrashReport

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/crashreports/
Request body
{
  "id" : "string",
  "logfiles" : [ "string" ],
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "is_fake_report" : true,
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "boot_reason" : "string",
  "power_on_reason" : "string",
  "power_off_reason" : "string",
  "next_logfile_key" : 0,
  "created_at" : "string"
}

Example HTTP response

Response 201
{
  "id" : "string",
  "logfiles" : [ "string" ],
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "is_fake_report" : true,
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "boot_reason" : "string",
  "power_on_reason" : "string",
  "power_off_reason" : "string",
  "next_logfile_key" : 0,
  "created_at" : "string"
}

GET /hiccup/api/v1/crashreports/

Parameters

TypeNameDescriptionSchema
Querybuild_fingerprint
optional
string
Querydevice
optional
string
Querylimit
optional
Number of results to return per page.integer
Queryoffset
optional
The initial index from which to return the results.integer
Queryradio_version
optional
string

Responses

HTTP CodeSchema
200Response 200

Response 200

NameDescriptionSchema
count
required
Example : 0integer
next
optional
Example : "string"string (uri)
previous
optional
Example : "string"string (uri)
results
required
Example : [ "[crashreport](#crashreport)" ]< CrashReport > array

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/crashreports/

Example HTTP response

Response 200
"object"

GET /hiccup/api/v1/crashreports/{id}/

Parameters

TypeNameDescriptionSchema
Pathid
required
A unique integer value identifying this crashreport.integer

Responses

HTTP CodeSchema
200CrashReport

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/crashreports/0/

Example HTTP response

Response 200
{
  "id" : "string",
  "logfiles" : [ "string" ],
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "is_fake_report" : true,
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "boot_reason" : "string",
  "power_on_reason" : "string",
  "power_off_reason" : "string",
  "next_logfile_key" : 0,
  "created_at" : "string"
}

PUT /hiccup/api/v1/crashreports/{id}/

Parameters

TypeNameDescriptionSchema
Pathid
required
A unique integer value identifying this crashreport.integer

Body parameter

Name : data
Flags : required
Type : CrashReport

Responses

HTTP CodeSchema
200CrashReport

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/crashreports/0/
Request body
{
  "id" : "string",
  "logfiles" : [ "string" ],
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "is_fake_report" : true,
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "boot_reason" : "string",
  "power_on_reason" : "string",
  "power_off_reason" : "string",
  "next_logfile_key" : 0,
  "created_at" : "string"
}

Example HTTP response

Response 200
{
  "id" : "string",
  "logfiles" : [ "string" ],
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "is_fake_report" : true,
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "boot_reason" : "string",
  "power_on_reason" : "string",
  "power_off_reason" : "string",
  "next_logfile_key" : 0,
  "created_at" : "string"
}

DELETE /hiccup/api/v1/crashreports/{id}/

Parameters

TypeNameDescriptionSchema
Pathid
required
A unique integer value identifying this crashreport.integer

Responses

HTTP CodeSchema
204No Content

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/crashreports/0/

PATCH /hiccup/api/v1/crashreports/{id}/

Parameters

TypeNameDescriptionSchema
Pathid
required
A unique integer value identifying this crashreport.integer

Body parameter

Name : data
Flags : required
Type : CrashReport

Responses

HTTP CodeSchema
200CrashReport

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/crashreports/0/
Request body
{
  "id" : "string",
  "logfiles" : [ "string" ],
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "is_fake_report" : true,
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "boot_reason" : "string",
  "power_on_reason" : "string",
  "power_off_reason" : "string",
  "next_logfile_key" : 0,
  "created_at" : "string"
}

Example HTTP response

Response 200
{
  "id" : "string",
  "logfiles" : [ "string" ],
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "is_fake_report" : true,
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "boot_reason" : "string",
  "power_on_reason" : "string",
  "power_off_reason" : "string",
  "next_logfile_key" : 0,
  "created_at" : "string"
}

POST /hiccup/api/v1/devices/

Description

Create a device

Body parameter

Name : data
Flags : required
Type : Device

Responses

HTTP CodeDescriptionSchema
201Device
400Invalid input.No Content

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/
Request body
{
  "id" : 0,
  "board_date" : "string",
  "last_heartbeat" : "string",
  "uuid" : "string",
  "imei" : "string",
  "chipset" : "string",
  "token" : "string",
  "next_per_crashreport_key" : 0,
  "next_per_heartbeat_key" : 0,
  "user" : 0
}

Example HTTP response

Response 201
{
  "id" : 0,
  "board_date" : "string",
  "last_heartbeat" : "string",
  "uuid" : "string",
  "imei" : "string",
  "chipset" : "string",
  "token" : "string",
  "next_per_crashreport_key" : 0,
  "next_per_heartbeat_key" : 0,
  "user" : 0
}

GET /hiccup/api/v1/devices/

Description

List devices

Parameters

TypeNameDescriptionSchema
Queryboard_date
optional
string
Querychipset
optional
string
Querylimit
optional
Number of results to return per page.integer
Queryoffset
optional
The initial index from which to return the results.integer
Queryuuid
optional
string

Responses

HTTP CodeSchema
200Response 200

Response 200

NameDescriptionSchema
count
required
Example : 0integer
next
optional
Example : "string"string (uri)
previous
optional
Example : "string"string (uri)
results
required
Example : [ "[device](#device)" ]< Device > array

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/

Example HTTP response

Response 200
"object"

POST /hiccup/api/v1/devices/register/

Description

Register a new device.

This endpoint will generate a django user for the new device. The device is identified by a uuid, and authenticated with a token. We generate the uuid here as this makes it easier to deal with collisions.

Body parameter

Name : data
Flags : required
Type : DeviceCreate

Responses

HTTP CodeDescriptionSchema
200The device has been successfully registered.DeviceRegisterResponseSchema
400Invalid input.No Content

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/register/
Request body
{
  "board_date" : "string",
  "chipset" : "string"
}

Example HTTP response

Response 200
{
  "uuid" : "string",
  "token" : "string"
}

GET /hiccup/api/v1/devices/{device__uuid}/crashreports/{device_local_id}/

Parameters

TypeNameSchema
Pathdevice__uuid
required
string
Pathdevice_local_id
required
integer

Responses

HTTP CodeSchema
200CrashReport

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/crashreports/0/

Example HTTP response

Response 200
{
  "id" : "string",
  "logfiles" : [ "string" ],
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "is_fake_report" : true,
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "boot_reason" : "string",
  "power_on_reason" : "string",
  "power_off_reason" : "string",
  "next_logfile_key" : 0,
  "created_at" : "string"
}

PUT /hiccup/api/v1/devices/{device__uuid}/crashreports/{device_local_id}/

Parameters

TypeNameSchema
Pathdevice__uuid
required
string
Pathdevice_local_id
required
integer

Body parameter

Name : data
Flags : required
Type : CrashReport

Responses

HTTP CodeSchema
200CrashReport

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/crashreports/0/
Request body
{
  "id" : "string",
  "logfiles" : [ "string" ],
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "is_fake_report" : true,
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "boot_reason" : "string",
  "power_on_reason" : "string",
  "power_off_reason" : "string",
  "next_logfile_key" : 0,
  "created_at" : "string"
}

Example HTTP response

Response 200
{
  "id" : "string",
  "logfiles" : [ "string" ],
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "is_fake_report" : true,
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "boot_reason" : "string",
  "power_on_reason" : "string",
  "power_off_reason" : "string",
  "next_logfile_key" : 0,
  "created_at" : "string"
}

DELETE /hiccup/api/v1/devices/{device__uuid}/crashreports/{device_local_id}/

Parameters

TypeNameSchema
Pathdevice__uuid
required
string
Pathdevice_local_id
required
integer

Responses

HTTP CodeSchema
204No Content

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/crashreports/0/

PATCH /hiccup/api/v1/devices/{device__uuid}/crashreports/{device_local_id}/

Parameters

TypeNameSchema
Pathdevice__uuid
required
string
Pathdevice_local_id
required
integer

Body parameter

Name : data
Flags : required
Type : CrashReport

Responses

HTTP CodeSchema
200CrashReport

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/crashreports/0/
Request body
{
  "id" : "string",
  "logfiles" : [ "string" ],
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "is_fake_report" : true,
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "boot_reason" : "string",
  "power_on_reason" : "string",
  "power_off_reason" : "string",
  "next_logfile_key" : 0,
  "created_at" : "string"
}

Example HTTP response

Response 200
{
  "id" : "string",
  "logfiles" : [ "string" ],
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "is_fake_report" : true,
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "boot_reason" : "string",
  "power_on_reason" : "string",
  "power_off_reason" : "string",
  "next_logfile_key" : 0,
  "created_at" : "string"
}

GET /hiccup/api/v1/devices/{uuid}/

Description

Get a device

Parameters

TypeNameSchema
Pathuuid
required
string

Responses

HTTP CodeDescriptionSchema
200Device
404Not found.No Content

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/

Example HTTP response

Response 200
{
  "id" : 0,
  "board_date" : "string",
  "last_heartbeat" : "string",
  "uuid" : "string",
  "imei" : "string",
  "chipset" : "string",
  "token" : "string",
  "next_per_crashreport_key" : 0,
  "next_per_heartbeat_key" : 0,
  "user" : 0
}

PUT /hiccup/api/v1/devices/{uuid}/

Description

Update a device

Parameters

TypeNameSchema
Pathuuid
required
string

Body parameter

Name : data
Flags : required
Type : Device

Responses

HTTP CodeDescriptionSchema
200Device
400Invalid input.No Content
404Not found.No Content

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/
Request body
{
  "id" : 0,
  "board_date" : "string",
  "last_heartbeat" : "string",
  "uuid" : "string",
  "imei" : "string",
  "chipset" : "string",
  "token" : "string",
  "next_per_crashreport_key" : 0,
  "next_per_heartbeat_key" : 0,
  "user" : 0
}

Example HTTP response

Response 200
{
  "id" : 0,
  "board_date" : "string",
  "last_heartbeat" : "string",
  "uuid" : "string",
  "imei" : "string",
  "chipset" : "string",
  "token" : "string",
  "next_per_crashreport_key" : 0,
  "next_per_heartbeat_key" : 0,
  "user" : 0
}

DELETE /hiccup/api/v1/devices/{uuid}/

Description

Delete a device

Parameters

TypeNameSchema
Pathuuid
required
string

Responses

HTTP CodeDescriptionSchema
204No Content
404Not found.No Content

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/

PATCH /hiccup/api/v1/devices/{uuid}/

Description

Make a partial update for a device

Parameters

TypeNameSchema
Pathuuid
required
string

Body parameter

Name : data
Flags : required
Type : Device

Responses

HTTP CodeDescriptionSchema
200Device
400Invalid input.No Content
404Not found.No Content

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/
Request body
{
  "id" : 0,
  "board_date" : "string",
  "last_heartbeat" : "string",
  "uuid" : "string",
  "imei" : "string",
  "chipset" : "string",
  "token" : "string",
  "next_per_crashreport_key" : 0,
  "next_per_heartbeat_key" : 0,
  "user" : 0
}

Example HTTP response

Response 200
{
  "id" : 0,
  "board_date" : "string",
  "last_heartbeat" : "string",
  "uuid" : "string",
  "imei" : "string",
  "chipset" : "string",
  "token" : "string",
  "next_per_crashreport_key" : 0,
  "next_per_heartbeat_key" : 0,
  "user" : 0
}

POST /hiccup/api/v1/devices/{uuid}/crashreports/

Parameters

TypeNameSchema
Pathuuid
required
string

Body parameter

Name : data
Flags : required
Type : CrashReport

Responses

HTTP CodeSchema
201CrashReport

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/crashreports/
Request body
{
  "id" : "string",
  "logfiles" : [ "string" ],
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "is_fake_report" : true,
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "boot_reason" : "string",
  "power_on_reason" : "string",
  "power_off_reason" : "string",
  "next_logfile_key" : 0,
  "created_at" : "string"
}

Example HTTP response

Response 201
{
  "id" : "string",
  "logfiles" : [ "string" ],
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "is_fake_report" : true,
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "boot_reason" : "string",
  "power_on_reason" : "string",
  "power_off_reason" : "string",
  "next_logfile_key" : 0,
  "created_at" : "string"
}

GET /hiccup/api/v1/devices/{uuid}/crashreports/

Parameters

TypeNameDescriptionSchema
Pathuuid
required
string
Querybuild_fingerprint
optional
string
Querydevice
optional
string
Querylimit
optional
Number of results to return per page.integer
Queryoffset
optional
The initial index from which to return the results.integer
Queryradio_version
optional
string

Responses

HTTP CodeSchema
200Response 200

Response 200

NameDescriptionSchema
count
required
Example : 0integer
next
optional
Example : "string"string (uri)
previous
optional
Example : "string"string (uri)
results
required
Example : [ "[crashreport](#crashreport)" ]< CrashReport > array

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/crashreports/

Example HTTP response

Response 200
"object"

POST /hiccup/api/v1/devices/{uuid}/crashreports/{device_local_id}/logfile_put/{filename}/

Parameters

TypeNameSchema
Pathdevice_local_id
required
string
Pathfilename
required
string
Pathuuid
required
string

Responses

HTTP CodeSchema
201No Content

Consumes

  • \*/*

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/crashreports/string/logfile_put/string/

POST /hiccup/api/v1/devices/{uuid}/heartbeats/

Parameters

TypeNameSchema
Pathuuid
required
string

Body parameter

Name : data
Flags : required
Type : HeartBeat

Responses

HTTP CodeSchema
201HeartBeat

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/heartbeats/
Request body
{
  "id" : "string",
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "created_at" : "string"
}

Example HTTP response

Response 201
{
  "id" : "string",
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "created_at" : "string"
}

GET /hiccup/api/v1/devices/{uuid}/heartbeats/

Parameters

TypeNameDescriptionSchema
Pathuuid
required
string
Querybuild_fingerprint
optional
string
Querydevice
optional
string
Querylimit
optional
Number of results to return per page.integer
Queryoffset
optional
The initial index from which to return the results.integer
Queryradio_version
optional
string

Responses

HTTP CodeSchema
200Response 200

Response 200

NameDescriptionSchema
count
required
Example : 0integer
next
optional
Example : "string"string (uri)
previous
optional
Example : "string"string (uri)
results
required
Example : [ "[heartbeat](#heartbeat)" ]< HeartBeat > array

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/heartbeats/

Example HTTP response

Response 200
"object"

GET /hiccup/api/v1/devices/{uuid}/heartbeats/{device_local_id}/

Parameters

TypeNameSchema
Pathdevice_local_id
required
integer
Pathuuid
required
string

Responses

HTTP CodeSchema
200HeartBeat

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/heartbeats/0/

Example HTTP response

Response 200
{
  "id" : "string",
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "created_at" : "string"
}

PUT /hiccup/api/v1/devices/{uuid}/heartbeats/{device_local_id}/

Parameters

TypeNameSchema
Pathdevice_local_id
required
integer
Pathuuid
required
string

Body parameter

Name : data
Flags : required
Type : HeartBeat

Responses

HTTP CodeSchema
200HeartBeat

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/heartbeats/0/
Request body
{
  "id" : "string",
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "created_at" : "string"
}

Example HTTP response

Response 200
{
  "id" : "string",
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "created_at" : "string"
}

DELETE /hiccup/api/v1/devices/{uuid}/heartbeats/{device_local_id}/

Parameters

TypeNameSchema
Pathdevice_local_id
required
integer
Pathuuid
required
string

Responses

HTTP CodeSchema
204No Content

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/heartbeats/0/

PATCH /hiccup/api/v1/devices/{uuid}/heartbeats/{device_local_id}/

Parameters

TypeNameSchema
Pathdevice_local_id
required
integer
Pathuuid
required
string

Body parameter

Name : data
Flags : required
Type : HeartBeat

Responses

HTTP CodeSchema
200HeartBeat

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/devices/string/heartbeats/0/
Request body
{
  "id" : "string",
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "created_at" : "string"
}

Example HTTP response

Response 200
{
  "id" : "string",
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "created_at" : "string"
}

POST /hiccup/api/v1/heartbeats/

Body parameter

Name : data
Flags : required
Type : HeartBeat

Responses

HTTP CodeSchema
201HeartBeat

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/heartbeats/
Request body
{
  "id" : "string",
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "created_at" : "string"
}

Example HTTP response

Response 201
{
  "id" : "string",
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "created_at" : "string"
}

GET /hiccup/api/v1/heartbeats/

Parameters

TypeNameDescriptionSchema
Querybuild_fingerprint
optional
string
Querydevice
optional
string
Querylimit
optional
Number of results to return per page.integer
Queryoffset
optional
The initial index from which to return the results.integer
Queryradio_version
optional
string

Responses

HTTP CodeSchema
200Response 200

Response 200

NameDescriptionSchema
count
required
Example : 0integer
next
optional
Example : "string"string (uri)
previous
optional
Example : "string"string (uri)
results
required
Example : [ "[heartbeat](#heartbeat)" ]< HeartBeat > array

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/heartbeats/

Example HTTP response

Response 200
"object"

GET /hiccup/api/v1/heartbeats/{id}/

Parameters

TypeNameDescriptionSchema
Pathid
required
A unique integer value identifying this heart beat.integer

Responses

HTTP CodeSchema
200HeartBeat

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/heartbeats/0/

Example HTTP response

Response 200
{
  "id" : "string",
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "created_at" : "string"
}

PUT /hiccup/api/v1/heartbeats/{id}/

Parameters

TypeNameDescriptionSchema
Pathid
required
A unique integer value identifying this heart beat.integer

Body parameter

Name : data
Flags : required
Type : HeartBeat

Responses

HTTP CodeSchema
200HeartBeat

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/heartbeats/0/
Request body
{
  "id" : "string",
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "created_at" : "string"
}

Example HTTP response

Response 200
{
  "id" : "string",
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "created_at" : "string"
}

DELETE /hiccup/api/v1/heartbeats/{id}/

Parameters

TypeNameDescriptionSchema
Pathid
required
A unique integer value identifying this heart beat.integer

Responses

HTTP CodeSchema
204No Content

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/heartbeats/0/

PATCH /hiccup/api/v1/heartbeats/{id}/

Parameters

TypeNameDescriptionSchema
Pathid
required
A unique integer value identifying this heart beat.integer

Body parameter

Name : data
Flags : required
Type : HeartBeat

Responses

HTTP CodeSchema
200HeartBeat

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/heartbeats/0/
Request body
{
  "id" : "string",
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "created_at" : "string"
}

Example HTTP response

Response 200
{
  "id" : "string",
  "uuid" : "string",
  "device_local_id" : 0,
  "date" : "string",
  "app_version" : 0,
  "uptime" : "string",
  "build_fingerprint" : "string",
  "radio_version" : "string",
  "created_at" : "string"
}

GET /hiccup/api/v1/logfiles/

Parameters

TypeNameDescriptionSchema
Querylimit
optional
Number of results to return per page.integer
Queryoffset
optional
The initial index from which to return the results.integer

Responses

HTTP CodeSchema
200Response 200

Response 200

NameDescriptionSchema
count
required
Example : 0integer
next
optional
Example : "string"string (uri)
previous
optional
Example : "string"string (uri)
results
required
Example : [ "[logfile](#logfile)" ]< LogFile > array

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/logfiles/

Example HTTP response

Response 200
"object"

GET /hiccup/api/v1/logfiles/{id}/

Parameters

TypeNameDescriptionSchema
Pathid
required
A unique integer value identifying this log file.integer

Responses

HTTP CodeSchema
200LogFile

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/logfiles/0/

Example HTTP response

Response 200
{
  "id" : 0,
  "logfile_type" : "string",
  "logfile" : "string",
  "crashreport_local_id" : 0,
  "created_at" : "string",
  "crashreport" : 0
}

PUT /hiccup/api/v1/logfiles/{id}/

Parameters

TypeNameDescriptionSchema
Pathid
required
A unique integer value identifying this log file.integer

Body parameter

Name : data
Flags : required
Type : LogFile

Responses

HTTP CodeSchema
200LogFile

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/logfiles/0/
Request body
{
  "id" : 0,
  "logfile_type" : "string",
  "logfile" : "string",
  "crashreport_local_id" : 0,
  "created_at" : "string",
  "crashreport" : 0
}

Example HTTP response

Response 200
{
  "id" : 0,
  "logfile_type" : "string",
  "logfile" : "string",
  "crashreport_local_id" : 0,
  "created_at" : "string",
  "crashreport" : 0
}

DELETE /hiccup/api/v1/logfiles/{id}/

Parameters

TypeNameDescriptionSchema
Pathid
required
A unique integer value identifying this log file.integer

Responses

HTTP CodeSchema
204No Content

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/logfiles/0/

PATCH /hiccup/api/v1/logfiles/{id}/

Parameters

TypeNameDescriptionSchema
Pathid
required
A unique integer value identifying this log file.integer

Body parameter

Name : data
Flags : required
Type : LogFile

Responses

HTTP CodeSchema
200LogFile

Tags

  • hiccup

Example HTTP request

Request path
/hiccup/api/v1/logfiles/0/
Request body
{
  "id" : 0,
  "logfile_type" : "string",
  "logfile" : "string",
  "crashreport_local_id" : 0,
  "created_at" : "string",
  "crashreport" : 0
}

Example HTTP response

Response 200
{
  "id" : 0,
  "logfile_type" : "string",
  "logfile" : "string",
  "crashreport_local_id" : 0,
  "created_at" : "string",
  "crashreport" : 0
}

GET /hiccup_stats/api/v1/device_overview/{uuid}/

Description

Get some general statistics for a device.

Args: request: Http request uuid: The UUID of the device format: Optional response format parameter

Returns: Some general information of the device in a dictionary.

Parameters

TypeNameSchema
Pathuuid
required
string

Responses

HTTP CodeSchema
200No Content

Tags

  • hiccup_stats

Example HTTP request

Request path
/hiccup_stats/api/v1/device_overview/string/

GET /hiccup_stats/api/v1/device_report_history/{uuid}/

Description

Get the report history of a device.

Args: request: Http request uuid: The UUID of the device format: Optional response format parameter

Returns: The report history of the requested device.

Parameters

TypeNameSchema
Pathuuid
required
string

Responses

HTTP CodeSchema
200No Content

Tags

  • hiccup_stats

Example HTTP request

Request path
/hiccup_stats/api/v1/device_report_history/string/

GET /hiccup_stats/api/v1/device_update_history/{uuid}/

Description

Get the update history of a device.

Args: request: Http request uuid: The UUID of the device format: Optional response format parameter

Returns: The update history of the requested device.

Parameters

TypeNameSchema
Pathuuid
required
string

Responses

HTTP CodeSchema
200No Content

Tags

  • hiccup_stats

Example HTTP request

Request path
/hiccup_stats/api/v1/device_update_history/string/

GET /hiccup_stats/api/v1/logfile_download/{id}/

Description

Get a logfile.

Args: request: Http request id_logfile: The id of the log file format: Optional response format parameter

Returns: The log file with the corresponding id.

Parameters

TypeNameSchema
Pathid
required
string

Responses

HTTP CodeSchema
200No Content

Tags

  • hiccup_stats

Example HTTP request

Request path
/hiccup_stats/api/v1/logfile_download/string/

GET /hiccup_stats/api/v1/radio_version_daily/

Description

View for listing RadioVersionDaily instances.

Parameters

TypeNameDescriptionSchema
Querydate
optional
string
Querydate_end
optional
string
Querydate_start
optional
string
Queryheartbeats
optional
number
Querylimit
optional
Number of results to return per page.integer
Queryoffset
optional
The initial index from which to return the results.integer
Queryother
optional
number
Queryprob_crashes
optional
number
Querysmpl
optional
number
Queryversion
optional
string
Queryversion__is_beta_release
optional
string
Queryversion__is_official_release
optional
string
Queryversion__radio_version
optional
string

Responses

HTTP CodeSchema
200Response 200

Response 200

NameDescriptionSchema
count
required
Example : 0integer
next
optional
Example : "string"string (uri)
previous
optional
Example : "string"string (uri)
results
required
Example : [ "[radioversiondaily](#radioversiondaily)" ]< RadioVersionDaily > array

Tags

  • hiccup_stats

Example HTTP request

Request path
/hiccup_stats/api/v1/radio_version_daily/

Example HTTP response

Response 200
"object"

GET /hiccup_stats/api/v1/radio_versions/

Description

View for listing RadioVersion instances.

Parameters

TypeNameDescriptionSchema
Queryfirst_seen_after
optional
string
Queryfirst_seen_before
optional
string
Queryfirst_seen_on
optional
string
Queryheartbeats
optional
number
Queryis_beta_release
optional
string
Queryis_official_release
optional
string
Querylimit
optional
Number of results to return per page.integer
Queryoffset
optional
The initial index from which to return the results.integer
Queryother
optional
number
Queryprob_crashes
optional
number
Queryradio_version
optional
string
Queryreleased_after
optional
string
Queryreleased_before
optional
string
Queryreleased_on
optional
string
Querysmpl
optional
number

Responses

HTTP CodeSchema
200Response 200

Response 200

NameDescriptionSchema
count
required
Example : 0integer
next
optional
Example : "string"string (uri)
previous
optional
Example : "string"string (uri)
results
required
Example : [ "[radioversion](#radioversion)" ]< RadioVersion > array

Tags

  • hiccup_stats

Example HTTP request

Request path
/hiccup_stats/api/v1/radio_versions/

Example HTTP response

Response 200
"object"

GET /hiccup_stats/api/v1/status/

Description

Get the number of devices, crashreports and heartbeats.

Args: request: Http request format: Optional response format parameter

Returns: The number of devices, crashreports and heartbeats.

Responses

HTTP CodeSchema
200No Content

Tags

  • hiccup_stats

Example HTTP request

Request path
/hiccup_stats/api/v1/status/

GET /hiccup_stats/api/v1/version_daily/

Description

View for listing VersionDaily instances.

Parameters

TypeNameDescriptionSchema
Querydate
optional
string
Querydate_end
optional
string
Querydate_start
optional
string
Queryheartbeats
optional
number
Querylimit
optional
Number of results to return per page.integer
Queryoffset
optional
The initial index from which to return the results.integer
Queryother
optional
number
Queryprob_crashes
optional
number
Querysmpl
optional
number
Queryversion
optional
string
Queryversion__build_fingerprint
optional
string
Queryversion__is_beta_release
optional
string
Queryversion__is_official_release
optional
string

Responses

HTTP CodeSchema
200Response 200

Response 200

NameDescriptionSchema
count
required
Example : 0integer
next
optional
Example : "string"string (uri)
previous
optional
Example : "string"string (uri)
results
required
Example : [ "[versiondaily](#versiondaily)" ]< VersionDaily > array

Tags

  • hiccup_stats

Example HTTP request

Request path
/hiccup_stats/api/v1/version_daily/

Example HTTP response

Response 200
"object"

GET /hiccup_stats/api/v1/versions/

Description

View for listing versions.

Parameters

TypeNameDescriptionSchema
Querybuild_fingerprint
optional
string
Queryfirst_seen_after
optional
string
Queryfirst_seen_before
optional
string
Queryfirst_seen_on
optional
string
Queryheartbeats
optional
number
Queryis_beta_release
optional
string
Queryis_official_release
optional
string
Querylimit
optional
Number of results to return per page.integer
Queryoffset
optional
The initial index from which to return the results.integer
Queryother
optional
number
Queryprob_crashes
optional
number
Queryreleased_after
optional
string
Queryreleased_before
optional
string
Queryreleased_on
optional
string
Querysmpl
optional
number

Responses

HTTP CodeSchema
200Response 200

Response 200

NameDescriptionSchema
count
required
Example : 0integer
next
optional
Example : "string"string (uri)
previous
optional
Example : "string"string (uri)
results
required
Example : [ "[version](#version)" ]< Version > array

Tags

  • hiccup_stats

Example HTTP request

Request path
/hiccup_stats/api/v1/versions/

Example HTTP response

Response 200
"object"

Definitions

CrashReport

NameDescriptionSchema
app_version
required
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer
boot_reason
required
Length : 1 - 200
Example : "string"
string
build_fingerprint
required
Length : 1 - 200
Example : "string"
string
created_at
optional
read-only
Example : "string"string (date-time)
date
required
Example : "string"string (date-time)
device_local_id
optional
Example : 0integer
id
optional
read-only
Example : "string"string
is_fake_report
optional
Example : trueboolean
logfiles
optional
read-only
Example : [ "string" ]< string (uri) > array
next_logfile_key
optional
Minimum value : 0
Maximum value : 2147483647
Example : 0
integer
power_off_reason
required
Length : 1 - 200
Example : "string"
string
power_on_reason
required
Length : 1 - 200
Example : "string"
string
radio_version
optional
Length : 1 - 200
Example : "string"
string
uptime
required
Length : 1 - 200
Example : "string"
string
uuid
required
Length : 1 - 64
Example : "string"
string

Device

NameDescriptionSchema
board_date
required
Example : "string"string (date-time)
chipset
optional
Maximal length : 200
Example : "string"
string
id
optional
read-only
Example : 0integer
imei
optional
Maximal length : 32
Example : "string"
string
last_heartbeat
required
Example : "string"string (date-time)
next_per_crashreport_key
optional
Minimum value : 0
Maximum value : 2147483647
Example : 0
integer
next_per_heartbeat_key
optional
Minimum value : 0
Maximum value : 2147483647
Example : 0
integer
token
optional
Maximal length : 200
Example : "string"
string
user
required
Example : 0integer
uuid
optional
read-only
Minimum length : 1
Example : "string"
string

DeviceCreate

NameDescriptionSchema
board_date
required
Example : "string"string (date-time)
chipset
required
Maximal length : 200
Example : "string"
string

DeviceRegisterResponseSchema

NameDescriptionSchema
token
optional
Maximal length : 200
Example : "string"
string
uuid
optional
read-only
Minimum length : 1
Example : "string"
string

HeartBeat

NameDescriptionSchema
app_version
required
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer
build_fingerprint
required
Length : 1 - 200
Example : "string"
string
created_at
optional
read-only
Example : "string"string (date-time)
date
required
Example : "string"string (date-time)
device_local_id
optional
Example : 0integer
id
optional
read-only
Example : "string"string
radio_version
optional
Length : 1 - 200
Example : "string"
string
uptime
required
Length : 1 - 200
Example : "string"
string
uuid
required
Length : 1 - 64
Example : "string"
string

LogFile

NameDescriptionSchema
crashreport
required
Example : 0integer
crashreport_local_id
optional
Minimum value : 0
Maximum value : 2147483647
Example : 0
integer
created_at
optional
read-only
Example : "string"string (date-time)
id
optional
read-only
Example : 0integer
logfile
optional
read-only
Example : "string"string (uri)
logfile_type
optional
Length : 1 - 36
Example : "string"
string

RadioVersion

NameDescriptionSchema
first_seen_on
required
Example : "string"string (date)
heartbeats
optional
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer
id
optional
read-only
Example : 0integer
is_beta_release
optional
Example : trueboolean
is_official_release
optional
Example : trueboolean
other
optional
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer
prob_crashes
optional
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer
radio_version
required
Length : 1 - 200
Example : "string"
string
released_on
required
Example : "string"string (date)
smpl
optional
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer

RadioVersionDaily

NameDescriptionSchema
date
required
Example : "string"string (date)
heartbeats
optional
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer
id
optional
read-only
Example : 0integer
other
optional
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer
prob_crashes
optional
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer
radio_version
required
Minimum length : 1
Example : "string"
string
smpl
optional
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer
version
required
Example : 0integer

Version

NameDescriptionSchema
build_fingerprint
required
Length : 1 - 200
Example : "string"
string
first_seen_on
required
Example : "string"string (date)
heartbeats
optional
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer
id
optional
read-only
Example : 0integer
is_beta_release
optional
Example : trueboolean
is_official_release
optional
Example : trueboolean
other
optional
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer
prob_crashes
optional
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer
released_on
required
Example : "string"string (date)
smpl
optional
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer

VersionDaily

NameDescriptionSchema
build_fingerprint
required
Minimum length : 1
Example : "string"
string
date
required
Example : "string"string (date)
heartbeats
optional
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer
id
optional
read-only
Example : 0integer
other
optional
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer
prob_crashes
optional
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer
smpl
optional
Minimum value : -2147483648
Maximum value : 2147483647
Example : 0
integer
version
required
Example : 0integer

Security

basic

Type : basic