Download OpenAPI specification:Download
[- {
- "koyo_id": "string",
- "koyo_name": "string",
- "koyo_description": "string",
- "need_external": [
- "example_id"
], - "koyo_params": {
- "property1": "string",
- "property2": "string"
}, - "koyo_scales": [
- 0.1
], - "koyo_data_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "version": "string",
- "license": "string",
- "ext_licenses": [
- "string"
], - "first_entry_at": "2019-08-24T14:15:22Z",
- "last_entry_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z"
}
]
koyo_id required | string (Koyo.koyoId) ^[a-z_-]{1,64}$ |
koyo_id required | string (Koyo ID generated by the admin api) ^[a-z_-]{1,64}$ This ID can be obtained through admin api.
It is a human friendly format like GitHub repository names.
Only the pattern |
koyo_name required | string (Koyo name) [ 1 .. 64 ] characters |
koyo_description required | string (Koyo description) <= 2048 characters |
need_external required | Array of strings (ExtInfo.ExtInfoId) Items Value: "example_id" |
required | object (param name: param default) Koyo parameters. The key is the parameter name and the value is the default value. |
koyo_scales required | Array of numbers <float> (Koyo scales is resolution (e.g. one data per meter)) [ items <float > ] Koyo scales is resolution (e.g. one data per meter). Returns a list of supported scales. |
koyo_data_ids required | Array of strings <uuid> (Koyo data IDs) [ items <uuid > ] |
version required | string (Koyo version) ^\d+\.\d+\.\d+$ Semantic versioning |
license required | string (Koyo license) |
ext_licenses required | Array of strings (Koyo source license for use) Licenses for primary information and other information used by the koyo. |
{- "koyo_id": "string",
- "koyo_name": "string",
- "koyo_description": "string",
- "need_external": [
- "example_id"
], - "koyo_params": {
- "property1": "string",
- "property2": "string"
}, - "koyo_scales": [
- 0.1
], - "koyo_data_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "version": "string",
- "license": "string",
- "ext_licenses": [
- "string"
]
}
{- "koyo_id": "string",
- "koyo_name": "string",
- "koyo_description": "string",
- "need_external": [
- "example_id"
], - "koyo_params": {
- "property1": "string",
- "property2": "string"
}, - "koyo_scales": [
- 0.1
], - "koyo_data_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "version": "string",
- "license": "string",
- "ext_licenses": [
- "string"
], - "first_entry_at": "2019-08-24T14:15:22Z",
- "last_entry_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z"
}
koyo_id required | string (Koyo.koyoId) ^[a-z_-]{1,64}$ |
{- "koyo_id": "string",
- "koyo_name": "string",
- "koyo_description": "string",
- "need_external": [
- "example_id"
], - "koyo_params": {
- "property1": "string",
- "property2": "string"
}, - "koyo_scales": [
- 0.1
], - "koyo_data_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "version": "string",
- "license": "string",
- "ext_licenses": [
- "string"
], - "first_entry_at": "2019-08-24T14:15:22Z",
- "last_entry_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z"
}
koyo_id required | string (Koyo.koyoId) ^[a-z_-]{1,64}$ |
version required | string (Koyo version) ^\d+\.\d+\.\d+$ The version of the koyo used to generate the data. |
koyo_scale required | number <float> (Koyo scale) The resolution of the data. |
content_type required | string (Data type) Enum: "image" "csv" "json" The type of data format.(enum: image, csv, json...) |
content required | string <byte> (Data content) The data content itself. |
{- "version": "string",
- "koyo_scale": 0.1,
- "content_type": "image",
- "content": "string"
}
{- "koyo_data_id": "00a87f2c-0135-46d7-8900-d5f74d5468eb",
- "koyo_id": "string",
- "version": "string",
- "koyo_scale": 0.1,
- "content_type": "image",
- "content": "string",
- "entry_at": "2019-08-24T14:15:22Z",
- "target_at": "2019-08-24T14:15:22Z"
}
[- {
- "external_id": "example_id",
- "external_name": "string",
- "external_description": "string",
- "license": "string",
- "license_description": "string",
- "first_entry_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "updated_history": [
- "2019-08-24T14:15:22Z"
]
}
]
required | object (Types.GeoJSON.MultiPolygon) |
image required | string <byte> |
[- {
- "area": {
- "type": "MultiPolygon",
- "coordinates": [
- [
- [
- null
]
]
]
}, - "image": "string"
}
]
extinfo_id required | string (ExtInfo.ExtInfoId) Value: "example_id" |
{- "external_id": "example_id",
- "external_name": "string",
- "external_description": "string",
- "license": "string",
- "license_description": "string",
- "first_entry_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "updated_history": [
- "2019-08-24T14:15:22Z"
]
}
limit | integer <int32> |
[- {
- "koyo_id": "string",
- "koyo_name": "string",
- "koyo_description": "string",
- "need_external": [
- "example_id"
], - "koyo_params": {
- "property1": "string",
- "property2": "string"
}, - "koyo_scales": [
- 0.1
], - "koyo_data_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "version": "string",
- "license": "string",
- "ext_licenses": [
- "string"
], - "first_entry_at": "2019-08-24T14:15:22Z",
- "last_entry_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z"
}
]
altorithm_id required | string (Koyo.koyoId) ^[a-z_-]{1,64}$ |
type required | string (Provider.RequestType) Enum: "TileMapService" "GeoJSON" |
koyo_data_id | string <uuid> (Koyo.koyoDataId) |
object (Types.GeoJSON.MultiPolygon) | |
object (Types.Date.DateUntil) | |
object (Types.Date.DateUntil) | |
object | |
scale | number <float> (Koyo.koyoScale) |
{- "koyo_data_id": "00a87f2c-0135-46d7-8900-d5f74d5468eb",
- "koyo_id": "string",
- "version": "string",
- "koyo_scale": 0.1,
- "content_type": "image",
- "content": "string",
- "entry_at": "2019-08-24T14:15:22Z",
- "target_at": "2019-08-24T14:15:22Z"
}
username required | string |
{- "username": "string"
}
{- "client_id": "5b3fa7ba-57d3-4017-a65b-d57dcd2db643",
- "username": "string",
- "api_key": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "last_used_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z"
}
[- {
- "client_id": "5b3fa7ba-57d3-4017-a65b-d57dcd2db643",
- "username": "string",
- "api_key": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "last_used_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z"
}
]
external_name required | string (External infomation name) |
external_description required | string (External infomation description) |
license required | string (External information license) |
license_description required | string (External information license description) |
first_entry_at required | string <date-time> |
last_updated_at required | string <date-time> |
updated_history required | Array of strings <date-time> [ items <date-time > ] |
{- "external_name": "string",
- "external_description": "string",
- "license": "string",
- "license_description": "string",
- "first_entry_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "updated_history": [
- "2019-08-24T14:15:22Z"
]
}
{- "external_id": "example_id",
- "external_name": "string",
- "external_description": "string",
- "license": "string",
- "license_description": "string",
- "first_entry_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "updated_history": [
- "2019-08-24T14:15:22Z"
], - "api_key": "string"
}
Set up koyo's basic information and register it in the database. You can get koyo_id by hitting this endpoint. For updating basic information, please use /koyo api instead of admin api
koyo_name required | string (Koyo name) [ 1 .. 64 ] characters |
koyo_description required | string (Koyo description) <= 2048 characters |
need_external required | Array of strings (ExtInfo.ExtInfoId) Items Value: "example_id" |
required | object (param name: param default) Koyo parameters. The key is the parameter name and the value is the default value. |
koyo_scales required | Array of numbers <float> (Koyo scales is resolution (e.g. one data per meter)) [ items <float > ] Koyo scales is resolution (e.g. one data per meter). Returns a list of supported scales. |
koyo_data_ids required | Array of strings <uuid> (Koyo data IDs) [ items <uuid > ] |
version required | string (Koyo version) ^\d+\.\d+\.\d+$ Semantic versioning |
license required | string (Koyo license) |
ext_licenses required | Array of strings (Koyo source license for use) Licenses for primary information and other information used by the koyo. |
{- "koyo_name": "string",
- "koyo_description": "string",
- "need_external": [
- "example_id"
], - "koyo_params": {
- "property1": "string",
- "property2": "string"
}, - "koyo_scales": [
- 0.1
], - "koyo_data_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "version": "string",
- "license": "string",
- "ext_licenses": [
- "string"
]
}
{- "koyo_id": "string",
- "koyo_name": "string",
- "koyo_description": "string",
- "need_external": [
- "example_id"
], - "koyo_params": {
- "property1": "string",
- "property2": "string"
}, - "koyo_scales": [
- 0.1
], - "koyo_data_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "version": "string",
- "license": "string",
- "ext_licenses": [
- "string"
], - "first_entry_at": "2019-08-24T14:15:22Z",
- "last_entry_at": "2019-08-24T14:15:22Z",
- "last_updated_at": "2019-08-24T14:15:22Z",
- "api_key": "string"
}