|
|
@ -105,7 +105,7 @@ |
|
|
|
"$ref": "#/components/schemas/GridColumnReq" |
|
|
|
"$ref": "#/components/schemas/GridColumnReq" |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
"$ref": "#/components/schemas/GalleeryColumnReq" |
|
|
|
"$ref": "#/components/schemas/GalleryColumnReq" |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
"$ref": "#/components/schemas/FormColumnReq" |
|
|
|
"$ref": "#/components/schemas/FormColumnReq" |
|
|
@ -151,7 +151,7 @@ |
|
|
|
"$ref": "#/components/schemas/GridColumn" |
|
|
|
"$ref": "#/components/schemas/GridColumn" |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
"$ref": "#/components/schemas/GalleeryColumn" |
|
|
|
"$ref": "#/components/schemas/GalleryColumn" |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
"$ref": "#/components/schemas/FormColumn" |
|
|
|
"$ref": "#/components/schemas/FormColumn" |
|
|
@ -616,119 +616,43 @@ |
|
|
|
"x-stoplight": { |
|
|
|
"x-stoplight": { |
|
|
|
"id": "psbv6c6y9qvbu" |
|
|
|
"id": "psbv6c6y9qvbu" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
"properties": { |
|
|
|
|
|
|
|
"source_id": { |
|
|
|
|
|
|
|
"description": "The ID of the source that this map column belongs to", |
|
|
|
|
|
|
|
"example": "ds_g4ccx6e77h1dmi", |
|
|
|
|
|
|
|
"type": "string" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"fk_column_id": { |
|
|
|
|
|
|
|
"description": "Foreign Key to Column", |
|
|
|
|
|
|
|
"example": "cl_8iw2o4ejzvdyna", |
|
|
|
|
|
|
|
"type": "string" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"fk_view_id": { |
|
|
|
|
|
|
|
"description": "Foreign Key to View", |
|
|
|
|
|
|
|
"example": "vw_qjt7klod1p9kyv", |
|
|
|
|
|
|
|
"type": "string" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"id": { |
|
|
|
|
|
|
|
"description": "Unique ID of Map Column", |
|
|
|
|
|
|
|
"example": "nc_46xcacqn4rc9xf", |
|
|
|
|
|
|
|
"type": "string" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"order": { |
|
|
|
|
|
|
|
"description": "the order in the list of map columns", |
|
|
|
|
|
|
|
"example": 1, |
|
|
|
|
|
|
|
"type": "number" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"base_id": { |
|
|
|
|
|
|
|
"description": "The ID of the base that this map column belongs to", |
|
|
|
|
|
|
|
"example": "p_xm3thidrblw4n7", |
|
|
|
|
|
|
|
"type": "string" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"show": { |
|
|
|
|
|
|
|
"description": "Whether to show this column or not", |
|
|
|
|
|
|
|
"example": 1, |
|
|
|
|
|
|
|
"type": "number" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"title": "Map Column Model", |
|
|
|
|
|
|
|
"type": "object", |
|
|
|
|
|
|
|
"x-stoplight": { |
|
|
|
|
|
|
|
"id": "01nfqgzhqlqoe" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"GalleryColumnReq": { |
|
|
|
|
|
|
|
"description": "Model for Gallery Column Request", |
|
|
|
|
|
|
|
"examples": [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"fk_column_id": "cl_c5knoi4xs4sfpt", |
|
|
|
|
|
|
|
"label": "My Column", |
|
|
|
|
|
|
|
"width": "200px" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"properties": { |
|
|
|
|
|
|
|
"fk_column_id": { |
|
|
|
|
|
|
|
"$ref": "#/components/schemas/Id", |
|
|
|
|
|
|
|
"description": "Foreign Key to Column" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"show": { |
|
|
|
|
|
|
|
"$ref": "#/components/schemas/Bool", |
|
|
|
|
|
|
|
"description": "Show" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"order": { |
|
|
|
|
|
|
|
"type": "number", |
|
|
|
|
|
|
|
"description": "Order", |
|
|
|
|
|
|
|
"example": 1 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"title": "Gallery Column Request Model", |
|
|
|
|
|
|
|
"type": "object" |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
"KanbanColumnReq": { |
|
|
|
"KanbanColumnReq": { |
|
|
|
"description": "Model for Kanban Column Request", |
|
|
|
"description": "Model for Kanban Column Request", |
|
|
|
"examples": [ |
|
|
|
"examples": [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"fk_column_id": "cl_c5knoi4xs4sfpt", |
|
|
|
"title": "string", |
|
|
|
"label": "My Column", |
|
|
|
"show": 0, |
|
|
|
"width": "200px" |
|
|
|
"order": "1" |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
"title": "Kanban Column Model Request", |
|
|
|
|
|
|
|
"type": "object", |
|
|
|
"properties": { |
|
|
|
"properties": { |
|
|
|
"fk_column_id": { |
|
|
|
"title": { |
|
|
|
"$ref": "#/components/schemas/Id", |
|
|
|
"type": "string", |
|
|
|
"description": "Foreign Key to Column" |
|
|
|
"description": "Title" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"show": { |
|
|
|
"show": { |
|
|
|
"$ref": "#/components/schemas/Bool", |
|
|
|
"$ref": "#/components/schemas/Bool", |
|
|
|
"description": "Show" |
|
|
|
"description": "Is this column shown?" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"order": { |
|
|
|
"order": { |
|
|
|
"type": "number", |
|
|
|
"type": "number", |
|
|
|
"description": "Order", |
|
|
|
"example": 1, |
|
|
|
"example": 1 |
|
|
|
"description": "Column Order" |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
"title": "Kanban Column Request Model", |
|
|
|
|
|
|
|
"type": "object" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"GalleryColumnReq": { |
|
|
|
"GalleryColumnReq": { |
|
|
|
"description": "Model for Gallery Column Request", |
|
|
|
"description": "Model for Gallery Column Request", |
|
|
|
"examples": [ |
|
|
|
"examples": [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"fk_column_id": "cl_c5knoi4xs4sfpt", |
|
|
|
|
|
|
|
"label": "My Column", |
|
|
|
"label": "My Column", |
|
|
|
"width": "200px" |
|
|
|
"width": "200px" |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
"properties": { |
|
|
|
"properties": { |
|
|
|
"fk_column_id": { |
|
|
|
|
|
|
|
"$ref": "#/components/schemas/Id", |
|
|
|
|
|
|
|
"description": "Foreign Key to Column" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"show": { |
|
|
|
"show": { |
|
|
|
"$ref": "#/components/schemas/Bool", |
|
|
|
"$ref": "#/components/schemas/Bool", |
|
|
|
"description": "Show" |
|
|
|
"description": "Show" |
|
|
@ -738,36 +662,7 @@ |
|
|
|
"description": "Order", |
|
|
|
"description": "Order", |
|
|
|
"example": 1 |
|
|
|
"example": 1 |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
"title": "Gallery Column Request Model", |
|
|
|
|
|
|
|
"type": "object" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"KanbanColumnReq": { |
|
|
|
|
|
|
|
"description": "Model for Kanban Column Request", |
|
|
|
|
|
|
|
"examples": [ |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
"fk_column_id": "cl_c5knoi4xs4sfpt", |
|
|
|
|
|
|
|
"label": "My Column", |
|
|
|
|
|
|
|
"width": "200px" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
"properties": { |
|
|
|
|
|
|
|
"fk_column_id": { |
|
|
|
|
|
|
|
"$ref": "#/components/schemas/Id", |
|
|
|
|
|
|
|
"description": "Foreign Key to Column" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"show": { |
|
|
|
|
|
|
|
"$ref": "#/components/schemas/Bool", |
|
|
|
|
|
|
|
"description": "Show" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
"order": { |
|
|
|
|
|
|
|
"type": "number", |
|
|
|
|
|
|
|
"description": "Order", |
|
|
|
|
|
|
|
"example": 1 |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
"title": "Kanban Column Request Model", |
|
|
|
|
|
|
|
"type": "object" |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
"responses": { |
|
|
|
"responses": { |
|
|
|