Update Topic Model
POST/v1/dataset/topics/update/:topic_model_id
Updates a topic model geojson with updates to topic position or topic label. Currently accomplishes this by accepting an entirely new geojson and replacing existing one. Will eventually be more granular than that.
Request
Path Parameters
topic_model_id Topic Model Idrequired
- application/json
Body
required
project_id Project Id (string)required
Project id
topic_geojson
object
required
Topic model geojson to replace existing topic model
property name* any
Topic model geojson to replace existing topic model
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
result Result (string)
Default value: ok
{
"result": "ok"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...