UPDATE: Submission module
All checks were successful
Build and Release / release (push) Successful in 1m14s
All checks were successful
Build and Release / release (push) Successful in 1m14s
This commit is contained in:
373
docs/docs.go
373
docs/docs.go
@@ -430,6 +430,11 @@ const docTemplate = `{
|
||||
"type": "string",
|
||||
"name": "name",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"name": "project_id",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@@ -537,6 +542,11 @@ const docTemplate = `{
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"name": "project_id",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"name": "time",
|
||||
@@ -3418,6 +3428,11 @@ const docTemplate = `{
|
||||
"name": "limit",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"name": "project_id",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"maxLength": 1000,
|
||||
"type": "string",
|
||||
@@ -3500,6 +3515,29 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.BBox": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"max_lat",
|
||||
"max_lng",
|
||||
"min_lat",
|
||||
"min_lng"
|
||||
],
|
||||
"properties": {
|
||||
"max_lat": {
|
||||
"type": "number"
|
||||
},
|
||||
"max_lng": {
|
||||
"type": "number"
|
||||
},
|
||||
"min_lat": {
|
||||
"type": "number"
|
||||
},
|
||||
"min_lng": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.ChangeOwnerDto": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -3544,6 +3582,50 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.CommitSnapshot": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"editor_feature_collection": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.FeatureCollection"
|
||||
},
|
||||
"entities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.EntitySnapshot"
|
||||
}
|
||||
},
|
||||
"entity_wiki": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.EntityWikiLinkSnapshot"
|
||||
}
|
||||
},
|
||||
"entity_wikis": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.EntityWikiLinkSnapshot"
|
||||
}
|
||||
},
|
||||
"geometries": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.GeometrySnapshot"
|
||||
}
|
||||
},
|
||||
"geometry_entity": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.GeometryEntitySnapshot"
|
||||
}
|
||||
},
|
||||
"wikis": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.WikiSnapshot"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.CreateCommitDto": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -3556,10 +3638,7 @@ const docTemplate = `{
|
||||
"maxLength": 500
|
||||
},
|
||||
"snapshot_json": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.CommitSnapshot"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3688,6 +3767,176 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.EntitySnapshot": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"properties": {
|
||||
"base_hash": {
|
||||
"type": "string"
|
||||
},
|
||||
"base_updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"operation": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"create",
|
||||
"update",
|
||||
"delete",
|
||||
"reference"
|
||||
]
|
||||
},
|
||||
"slug": {
|
||||
"type": "string"
|
||||
},
|
||||
"source": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"inline",
|
||||
"ref"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
0,
|
||||
1
|
||||
]
|
||||
},
|
||||
"type_id": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.EntityWikiLinkSnapshot": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"entity_id",
|
||||
"wiki_id"
|
||||
],
|
||||
"properties": {
|
||||
"entity_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"is_deleted": {
|
||||
"description": "Legacy / Compatibility",
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
0,
|
||||
1
|
||||
]
|
||||
},
|
||||
"operation": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"reference",
|
||||
"delete"
|
||||
]
|
||||
},
|
||||
"wiki_id": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.Feature": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"geometry",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"geometry": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.FeatureProperties"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.FeatureCollection": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"features",
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"features": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.Feature"
|
||||
}
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.FeatureProperties": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"properties": {
|
||||
"binding": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"entity_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"entity_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"entity_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"entity_names": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"entity_type_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"geometry_preset": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {},
|
||||
"time_end": {
|
||||
"type": "number"
|
||||
},
|
||||
"time_start": {
|
||||
"type": "number"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.ForgotPasswordDto": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -3711,6 +3960,82 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.GeometryEntitySnapshot": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"entity_id",
|
||||
"geometry_id"
|
||||
],
|
||||
"properties": {
|
||||
"base_links_hash": {
|
||||
"type": "string"
|
||||
},
|
||||
"entity_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"geometry_id": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.GeometrySnapshot": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"id",
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"base_hash": {
|
||||
"type": "string"
|
||||
},
|
||||
"base_updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"bbox": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.BBox"
|
||||
},
|
||||
"binding": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"draw_geometry": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"operation": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"create",
|
||||
"update",
|
||||
"delete",
|
||||
"reference"
|
||||
]
|
||||
},
|
||||
"source": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"inline",
|
||||
"ref"
|
||||
]
|
||||
},
|
||||
"time_end": {
|
||||
"type": "number"
|
||||
},
|
||||
"time_start": {
|
||||
"type": "number"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.MediaBulkDeleteDto": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -3934,6 +4259,46 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.WikiSnapshot": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"id",
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"doc": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"operation": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"create",
|
||||
"update",
|
||||
"delete",
|
||||
"reference"
|
||||
]
|
||||
},
|
||||
"source": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"inline",
|
||||
"ref"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_response.CommonResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
@@ -423,6 +423,11 @@
|
||||
"type": "string",
|
||||
"name": "name",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"name": "project_id",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@@ -530,6 +535,11 @@
|
||||
"in": "query",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"name": "project_id",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "integer",
|
||||
"name": "time",
|
||||
@@ -3411,6 +3421,11 @@
|
||||
"name": "limit",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"name": "project_id",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"maxLength": 1000,
|
||||
"type": "string",
|
||||
@@ -3493,6 +3508,29 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.BBox": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"max_lat",
|
||||
"max_lng",
|
||||
"min_lat",
|
||||
"min_lng"
|
||||
],
|
||||
"properties": {
|
||||
"max_lat": {
|
||||
"type": "number"
|
||||
},
|
||||
"max_lng": {
|
||||
"type": "number"
|
||||
},
|
||||
"min_lat": {
|
||||
"type": "number"
|
||||
},
|
||||
"min_lng": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.ChangeOwnerDto": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -3537,6 +3575,50 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.CommitSnapshot": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"editor_feature_collection": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.FeatureCollection"
|
||||
},
|
||||
"entities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.EntitySnapshot"
|
||||
}
|
||||
},
|
||||
"entity_wiki": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.EntityWikiLinkSnapshot"
|
||||
}
|
||||
},
|
||||
"entity_wikis": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.EntityWikiLinkSnapshot"
|
||||
}
|
||||
},
|
||||
"geometries": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.GeometrySnapshot"
|
||||
}
|
||||
},
|
||||
"geometry_entity": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.GeometryEntitySnapshot"
|
||||
}
|
||||
},
|
||||
"wikis": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.WikiSnapshot"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.CreateCommitDto": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -3549,10 +3631,7 @@
|
||||
"maxLength": 500
|
||||
},
|
||||
"snapshot_json": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.CommitSnapshot"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3681,6 +3760,176 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.EntitySnapshot": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"properties": {
|
||||
"base_hash": {
|
||||
"type": "string"
|
||||
},
|
||||
"base_updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"operation": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"create",
|
||||
"update",
|
||||
"delete",
|
||||
"reference"
|
||||
]
|
||||
},
|
||||
"slug": {
|
||||
"type": "string"
|
||||
},
|
||||
"source": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"inline",
|
||||
"ref"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
0,
|
||||
1
|
||||
]
|
||||
},
|
||||
"type_id": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.EntityWikiLinkSnapshot": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"entity_id",
|
||||
"wiki_id"
|
||||
],
|
||||
"properties": {
|
||||
"entity_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"is_deleted": {
|
||||
"description": "Legacy / Compatibility",
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
0,
|
||||
1
|
||||
]
|
||||
},
|
||||
"operation": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"reference",
|
||||
"delete"
|
||||
]
|
||||
},
|
||||
"wiki_id": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.Feature": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"geometry",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"geometry": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.FeatureProperties"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.FeatureCollection": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"features",
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"features": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.Feature"
|
||||
}
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.FeatureProperties": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"id"
|
||||
],
|
||||
"properties": {
|
||||
"binding": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"entity_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"entity_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"entity_name": {
|
||||
"type": "string"
|
||||
},
|
||||
"entity_names": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"entity_type_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"geometry_preset": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {},
|
||||
"time_end": {
|
||||
"type": "number"
|
||||
},
|
||||
"time_start": {
|
||||
"type": "number"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.ForgotPasswordDto": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -3704,6 +3953,82 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.GeometryEntitySnapshot": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"entity_id",
|
||||
"geometry_id"
|
||||
],
|
||||
"properties": {
|
||||
"base_links_hash": {
|
||||
"type": "string"
|
||||
},
|
||||
"entity_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"geometry_id": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.GeometrySnapshot": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"id",
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"base_hash": {
|
||||
"type": "string"
|
||||
},
|
||||
"base_updated_at": {
|
||||
"type": "string"
|
||||
},
|
||||
"bbox": {
|
||||
"$ref": "#/definitions/history-api_internal_dtos_request.BBox"
|
||||
},
|
||||
"binding": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"draw_geometry": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"operation": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"create",
|
||||
"update",
|
||||
"delete",
|
||||
"reference"
|
||||
]
|
||||
},
|
||||
"source": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"inline",
|
||||
"ref"
|
||||
]
|
||||
},
|
||||
"time_end": {
|
||||
"type": "number"
|
||||
},
|
||||
"time_start": {
|
||||
"type": "number"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.MediaBulkDeleteDto": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -3927,6 +4252,46 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_request.WikiSnapshot": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"id",
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"doc": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"operation": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"create",
|
||||
"update",
|
||||
"delete",
|
||||
"reference"
|
||||
]
|
||||
},
|
||||
"source": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"inline",
|
||||
"ref"
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"history-api_internal_dtos_response.CommonResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
@@ -13,6 +13,22 @@ definitions:
|
||||
- role
|
||||
- user_id
|
||||
type: object
|
||||
history-api_internal_dtos_request.BBox:
|
||||
properties:
|
||||
max_lat:
|
||||
type: number
|
||||
max_lng:
|
||||
type: number
|
||||
min_lat:
|
||||
type: number
|
||||
min_lng:
|
||||
type: number
|
||||
required:
|
||||
- max_lat
|
||||
- max_lng
|
||||
- min_lat
|
||||
- min_lng
|
||||
type: object
|
||||
history-api_internal_dtos_request.ChangeOwnerDto:
|
||||
properties:
|
||||
new_owner_id:
|
||||
@@ -43,15 +59,42 @@ definitions:
|
||||
required:
|
||||
- role_ids
|
||||
type: object
|
||||
history-api_internal_dtos_request.CommitSnapshot:
|
||||
properties:
|
||||
editor_feature_collection:
|
||||
$ref: '#/definitions/history-api_internal_dtos_request.FeatureCollection'
|
||||
entities:
|
||||
items:
|
||||
$ref: '#/definitions/history-api_internal_dtos_request.EntitySnapshot'
|
||||
type: array
|
||||
entity_wiki:
|
||||
items:
|
||||
$ref: '#/definitions/history-api_internal_dtos_request.EntityWikiLinkSnapshot'
|
||||
type: array
|
||||
entity_wikis:
|
||||
items:
|
||||
$ref: '#/definitions/history-api_internal_dtos_request.EntityWikiLinkSnapshot'
|
||||
type: array
|
||||
geometries:
|
||||
items:
|
||||
$ref: '#/definitions/history-api_internal_dtos_request.GeometrySnapshot'
|
||||
type: array
|
||||
geometry_entity:
|
||||
items:
|
||||
$ref: '#/definitions/history-api_internal_dtos_request.GeometryEntitySnapshot'
|
||||
type: array
|
||||
wikis:
|
||||
items:
|
||||
$ref: '#/definitions/history-api_internal_dtos_request.WikiSnapshot'
|
||||
type: array
|
||||
type: object
|
||||
history-api_internal_dtos_request.CreateCommitDto:
|
||||
properties:
|
||||
edit_summary:
|
||||
maxLength: 500
|
||||
type: string
|
||||
snapshot_json:
|
||||
items:
|
||||
type: integer
|
||||
type: array
|
||||
$ref: '#/definitions/history-api_internal_dtos_request.CommitSnapshot'
|
||||
required:
|
||||
- edit_summary
|
||||
- snapshot_json
|
||||
@@ -143,6 +186,122 @@ definitions:
|
||||
- content
|
||||
- verify_type
|
||||
type: object
|
||||
history-api_internal_dtos_request.EntitySnapshot:
|
||||
properties:
|
||||
base_hash:
|
||||
type: string
|
||||
base_updated_at:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
id:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
operation:
|
||||
enum:
|
||||
- create
|
||||
- update
|
||||
- delete
|
||||
- reference
|
||||
type: string
|
||||
slug:
|
||||
type: string
|
||||
source:
|
||||
enum:
|
||||
- inline
|
||||
- ref
|
||||
type: string
|
||||
status:
|
||||
enum:
|
||||
- 0
|
||||
- 1
|
||||
type: integer
|
||||
type_id:
|
||||
type: string
|
||||
required:
|
||||
- id
|
||||
type: object
|
||||
history-api_internal_dtos_request.EntityWikiLinkSnapshot:
|
||||
properties:
|
||||
entity_id:
|
||||
type: string
|
||||
is_deleted:
|
||||
description: Legacy / Compatibility
|
||||
enum:
|
||||
- 0
|
||||
- 1
|
||||
type: integer
|
||||
operation:
|
||||
enum:
|
||||
- reference
|
||||
- delete
|
||||
type: string
|
||||
wiki_id:
|
||||
type: string
|
||||
required:
|
||||
- entity_id
|
||||
- wiki_id
|
||||
type: object
|
||||
history-api_internal_dtos_request.Feature:
|
||||
properties:
|
||||
geometry:
|
||||
items:
|
||||
type: integer
|
||||
type: array
|
||||
properties:
|
||||
$ref: '#/definitions/history-api_internal_dtos_request.FeatureProperties'
|
||||
type:
|
||||
type: string
|
||||
required:
|
||||
- geometry
|
||||
- properties
|
||||
- type
|
||||
type: object
|
||||
history-api_internal_dtos_request.FeatureCollection:
|
||||
properties:
|
||||
features:
|
||||
items:
|
||||
$ref: '#/definitions/history-api_internal_dtos_request.Feature'
|
||||
type: array
|
||||
type:
|
||||
type: string
|
||||
required:
|
||||
- features
|
||||
- type
|
||||
type: object
|
||||
history-api_internal_dtos_request.FeatureProperties:
|
||||
properties:
|
||||
binding:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
entity_id:
|
||||
type: string
|
||||
entity_ids:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
entity_name:
|
||||
type: string
|
||||
entity_names:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
entity_type_id:
|
||||
type: string
|
||||
geometry_preset:
|
||||
type: string
|
||||
id: {}
|
||||
time_end:
|
||||
type: number
|
||||
time_start:
|
||||
type: number
|
||||
type:
|
||||
type: string
|
||||
required:
|
||||
- id
|
||||
type: object
|
||||
history-api_internal_dtos_request.ForgotPasswordDto:
|
||||
properties:
|
||||
email:
|
||||
@@ -160,6 +319,58 @@ definitions:
|
||||
- new_password
|
||||
- token_id
|
||||
type: object
|
||||
history-api_internal_dtos_request.GeometryEntitySnapshot:
|
||||
properties:
|
||||
base_links_hash:
|
||||
type: string
|
||||
entity_id:
|
||||
type: string
|
||||
geometry_id:
|
||||
type: string
|
||||
required:
|
||||
- entity_id
|
||||
- geometry_id
|
||||
type: object
|
||||
history-api_internal_dtos_request.GeometrySnapshot:
|
||||
properties:
|
||||
base_hash:
|
||||
type: string
|
||||
base_updated_at:
|
||||
type: string
|
||||
bbox:
|
||||
$ref: '#/definitions/history-api_internal_dtos_request.BBox'
|
||||
binding:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
draw_geometry:
|
||||
items:
|
||||
type: integer
|
||||
type: array
|
||||
id:
|
||||
type: string
|
||||
operation:
|
||||
enum:
|
||||
- create
|
||||
- update
|
||||
- delete
|
||||
- reference
|
||||
type: string
|
||||
source:
|
||||
enum:
|
||||
- inline
|
||||
- ref
|
||||
type: string
|
||||
time_end:
|
||||
type: number
|
||||
time_start:
|
||||
type: number
|
||||
type:
|
||||
type: string
|
||||
required:
|
||||
- id
|
||||
- type
|
||||
type: object
|
||||
history-api_internal_dtos_request.MediaBulkDeleteDto:
|
||||
properties:
|
||||
media_ids:
|
||||
@@ -316,6 +527,34 @@ definitions:
|
||||
- token
|
||||
- token_type
|
||||
type: object
|
||||
history-api_internal_dtos_request.WikiSnapshot:
|
||||
properties:
|
||||
doc:
|
||||
items:
|
||||
type: integer
|
||||
type: array
|
||||
id:
|
||||
type: string
|
||||
operation:
|
||||
enum:
|
||||
- create
|
||||
- update
|
||||
- delete
|
||||
- reference
|
||||
type: string
|
||||
source:
|
||||
enum:
|
||||
- inline
|
||||
- ref
|
||||
type: string
|
||||
title:
|
||||
type: string
|
||||
updated_at:
|
||||
type: string
|
||||
required:
|
||||
- id
|
||||
- title
|
||||
type: object
|
||||
history-api_internal_dtos_response.CommonResponse:
|
||||
properties:
|
||||
data: {}
|
||||
@@ -636,6 +875,9 @@ paths:
|
||||
maxLength: 255
|
||||
name: name
|
||||
type: string
|
||||
- in: query
|
||||
name: project_id
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
@@ -708,6 +950,9 @@ paths:
|
||||
name: min_lng
|
||||
required: true
|
||||
type: number
|
||||
- in: query
|
||||
name: project_id
|
||||
type: string
|
||||
- in: query
|
||||
name: time
|
||||
type: integer
|
||||
@@ -2565,6 +2810,9 @@ paths:
|
||||
minimum: 1
|
||||
name: limit
|
||||
type: integer
|
||||
- in: query
|
||||
name: project_id
|
||||
type: string
|
||||
- in: query
|
||||
maxLength: 1000
|
||||
name: title
|
||||
|
||||
Reference in New Issue
Block a user