Download OpenAPI specification:Download
This site contains the documentation for the Freenalytics API.
Register a new user account. This route will only work if the server has enabled user registration.
Request body for RegisterRequestSchema.
username required | string [ 3 .. 20 ] characters ^[\w._-]*$ |
password required | string >= 8 characters |
locale required | string Value: "en" |
{- "username": "string",
- "password": "stringst",
- "locale": "en"
}
{- "value": {
- "success": true,
- "status": 200,
- "data": {
- "message": "xrvy3n0n3v"
}
}
}
Login with your user account. Responds with a bearer token to authenticate further requests.
Request body for LoginRequestSchema.
username required | string |
password required | string |
{- "username": "string",
- "password": "string"
}
{- "value": {
- "success": true,
- "status": 200,
- "data": {
- "token": "actzhf70hb"
}
}
}
Change your user account password.
Request body for ChangePasswordRequestSchema.
old_password required | string |
new_password required | string |
{- "old_password": "string",
- "new_password": "string"
}
{- "value": {
- "success": true,
- "status": 200,
- "data": {
- "message": "b6hwc4iu7eu"
}
}
}
{- "value": {
- "success": true,
- "status": 200,
- "data": [
- {
- "username": "0xgl684q5upd",
- "locale": "en",
- "createdAt": "2022-12-07T02:02:48.195Z",
- "lastModifiedAt": "2022-12-07T02:02:48.195Z"
}, - {
- "username": "xntpckhm89",
- "locale": "en",
- "createdAt": "2022-12-07T02:02:48.197Z",
- "lastModifiedAt": "2022-12-07T02:02:48.197Z"
}, - {
- "username": "5vqaw6d0k24",
- "locale": "en",
- "createdAt": "2022-12-07T02:02:48.201Z",
- "lastModifiedAt": "2022-12-07T02:02:48.201Z"
}
]
}
}
Get the user information for the requesting user.
{- "value": {
- "success": true,
- "status": 200,
- "data": {
- "username": "0s266vvv2wcb",
- "locale": "en",
- "createdAt": "2022-12-07T02:02:48.183Z",
- "lastModifiedAt": "2022-12-07T02:02:48.183Z"
}
}
}
Update the user information for the requesting user.
username required | string The username of the user to get. |
Request body for UserUpdateRequestSchema.
locale | string Value: "en" |
{- "locale": "en"
}
{- "value": {
- "success": true,
- "status": 200,
- "data": {
- "username": "0s266vvv2wcb",
- "locale": "en",
- "createdAt": "2022-12-07T02:02:48.183Z",
- "lastModifiedAt": "2022-12-07T02:02:48.183Z"
}
}
}
Get a user by their username.
username required | string The username of the user to get. |
{- "value": {
- "success": true,
- "status": 200,
- "data": {
- "username": "0s266vvv2wcb",
- "locale": "en",
- "createdAt": "2022-12-07T02:02:48.183Z",
- "lastModifiedAt": "2022-12-07T02:02:48.183Z"
}
}
}
Get all applications for the requesting user.
{- "value": {
- "success": true,
- "status": 200,
- "data": [
- {
- "name": "scroygsu8jq",
- "owner": "b0mjzyuldkv",
- "domain": "d69jf0n3er",
- "type": "web",
- "connectors": [
- {
- "package_url": "ftp://www.mqatasuaqn7.gov",
- "language": "4z52bqhl9n9"
}
], - "template": {
- "raw_schema": "h7u44t13jmp",
- "schema": {
- "type": "object",
- "properties": { },
- "required": [
- "z61jmmxhcyl"
]
}
}, - "createdAt": "2022-12-07T02:02:48.261Z",
- "lastModifiedAt": "2022-12-07T02:02:48.261Z"
}, - {
- "name": "6hchji4hvxc",
- "owner": "uo5ektw3ahn",
- "domain": "lu06t9uzytr",
- "type": "mobile",
- "template": {
- "raw_schema": "e2nukbuykps",
- "schema": {
- "type": "object",
- "properties": { },
- "required": [
- "xxcmnlt8twf"
]
}
}, - "createdAt": "2022-12-07T02:02:48.273Z",
- "lastModifiedAt": "2022-12-07T02:02:48.273Z"
}, - {
- "name": "8xp5ji7aohg",
- "owner": "k6brcdbwkib",
- "domain": "rzz6vsg1ilm",
- "type": "web",
- "template": {
- "raw_schema": "fc05up27cjd",
- "schema": {
- "type": "object",
- "properties": { },
- "required": [
- "myxuzz48oaq"
]
}
}, - "createdAt": "2022-12-07T02:02:48.289Z",
- "lastModifiedAt": "2022-12-07T02:02:48.289Z"
}
]
}
}
Create a new application for the requesting user.
The schema
field in the request body should be a valid JSON Schema that describes the data
that will be uploaded in the future.
Request body for ApplicationCreateRequestSchema.
name required | string |
type required | string Enum: "mobile" "web" "server" "desktop" "other" |
schema required | string |
Array of objects Default: [] |
{- "name": "string",
- "type": "mobile",
- "schema": "string",
- "connectors": [ ]
}
{- "value": {
- "success": true,
- "status": 200,
- "data": {
- "name": "e7bg5yjyafj",
- "owner": "mmfapuakm9",
- "domain": "qeuszoo5jvg",
- "type": "other",
- "template": {
- "raw_schema": "arv34nih9qu",
- "schema": {
- "type": "object",
- "properties": { },
- "required": [
- "pmx9u4pydac"
]
}
}, - "createdAt": "2022-12-07T02:02:48.253Z",
- "lastModifiedAt": "2022-12-07T02:02:48.253Z"
}
}
}
Get an application by domain for the requesting user.
domain required | string The domain of the application to get. |
{- "value": {
- "success": true,
- "status": 200,
- "data": {
- "name": "e7bg5yjyafj",
- "owner": "mmfapuakm9",
- "domain": "qeuszoo5jvg",
- "type": "other",
- "template": {
- "raw_schema": "arv34nih9qu",
- "schema": {
- "type": "object",
- "properties": { },
- "required": [
- "pmx9u4pydac"
]
}
}, - "createdAt": "2022-12-07T02:02:48.253Z",
- "lastModifiedAt": "2022-12-07T02:02:48.253Z"
}
}
}
Update an application by domain for the requesting user.
domain required | string The domain of the application to update. |
Request body for ApplicationUpdateRequestSchema.
name | string |
type | string Enum: "mobile" "web" "server" "desktop" "other" |
Array of objects |
{- "name": "string",
- "type": "mobile",
}
{- "value": {
- "success": true,
- "status": 200,
- "data": {
- "name": "e7bg5yjyafj",
- "owner": "mmfapuakm9",
- "domain": "qeuszoo5jvg",
- "type": "other",
- "template": {
- "raw_schema": "arv34nih9qu",
- "schema": {
- "type": "object",
- "properties": { },
- "required": [
- "pmx9u4pydac"
]
}
}, - "createdAt": "2022-12-07T02:02:48.253Z",
- "lastModifiedAt": "2022-12-07T02:02:48.253Z"
}
}
}
Delete an application by domain for the requesting user.
domain required | string The domain of the application to delete. |
{- "value": {
- "success": true,
- "status": 200,
- "data": {
- "message": "1t8l8s5h01i"
}
}
}
Create a new data entry for an application for the requesting user. The shape of the request body will depend on the schema that was used to create the application.
domain required | string The domain of the application to upload the data to. |
Request body for ApplicationDataRequestSchema.
example required | string |
{- "example": "string"
}
{- "value": {
- "success": true,
- "status": 200,
- "data": {
- "domain": "7ux91wcj23x",
- "payload": {
- "example": "7fzfioh1c28"
}
}
}
}
Get paginated data entries for an application for the requesting user in descending order by creation date.
domain required | string The domain of the application to upload the data to. |
start | number The index cursor where to start the list of data entries. Defaults to |
limit | number The number of data entries to return. Defaults to |
{- "value": {
- "success": true,
- "status": 200,
- "data": {
- "result": [
- {
- "domain": "z7os6azs7x",
- "payload": {
- "example": "r9uwaak3tji"
}, - "createdAt": "2022-12-07T02:02:48.300Z"
}
], - "pagination": {
- "limit": 1,
- "current": 4,
- "previous": 2,
- "next": 2,
- "total": 4,
- "isLast": false
}
}
}
}
Export all data entries for an application for the requesting user as CSV.
domain required | string The domain of the application to upload the data to. |
{- "success": false,
- "status": 401,
- "error": {
- "name": "UnauthorizedRequestError",
- "description": "Please check that you have passed the correct bearer token inside the Authentication header.",
- "message": "A bearer token is required to access this endpoint."
}
}