OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/frontend/tests/integration/mocks/work-packages/experimental-meta.json

321 lines
9.4 KiB

{
"meta": {
"query": {
"id": null,
"name": "_",
"starred": false,
"filters": [
{
"name": "status",
"operator": "o",
"values": [
""
]
}
],
"_links": {
"create": "/api/experimental/queries"
},
"columnNames": [],
"sortCriteria": [],
"groupBy": "",
"projectId": 1,
"displaySums": false,
"isPublic": false,
"userId": 0
},
"columns": [
{
"name": "id",
"title": "ID",
"sortable": true,
"groupable": false,
"custom_field": false,
"meta_data": {
"data_type": "integer",
"link": {
"display": true,
"model_type": "work_package"
}
}
},
{
"name": "type",
"title": "Type",
"sortable": true,
"groupable": true,
"custom_field": false,
"meta_data": {
"data_type": "object",
"link": {
"display": false
}
}
},
{
"name": "status",
"title": "Status",
"sortable": true,
"groupable": true,
"custom_field": false,
"meta_data": {
"data_type": "object",
"link": {
"display": false
}
}
},
{
"name": "priority",
"title": "Priority",
"sortable": true,
"groupable": true,
"custom_field": false,
"meta_data": {
"data_type": "object",
"link": {
"display": false
}
}
},
{
"name": "subject",
"title": "Subject",
"sortable": true,
"groupable": false,
"custom_field": false,
"meta_data": {
"data_type": "string",
"link": {
"display": true,
"model_type": "work_package"
}
}
},
{
"name": "assignee",
"title": "Assignee",
"sortable": true,
"groupable": true,
"custom_field": false,
"meta_data": {
"data_type": "object",
"link": {
"display": true,
"model_type": "user"
}
}
},
{
"name": "updatedAt",
"title": "Updated on",
"sortable": true,
"groupable": false,
"custom_field": false,
"meta_data": {
"data_type": "datetime",
"link": {
"display": false
}
}
}
],
"groupable_columns": [
{
"name": "project",
"title": "Project",
"sortable": true,
"groupable": true,
"custom_field": false,
"meta_data": {
"data_type": "object",
"link": {
"display": true,
"model_type": "project"
}
}
},
{
"name": "type",
"title": "Type",
"sortable": true,
"groupable": true,
"custom_field": false,
"meta_data": {
"data_type": "object",
"link": {
"display": false
}
}
},
{
"name": "status",
"title": "Status",
"sortable": true,
"groupable": true,
"custom_field": false,
"meta_data": {
"data_type": "object",
"link": {
"display": false
}
}
},
{
"name": "priority",
"title": "Priority",
"sortable": true,
"groupable": true,
"custom_field": false,
"meta_data": {
"data_type": "object",
"link": {
"display": false
}
}
},
{
"name": "author",
"title": "Author",
"sortable": true,
"groupable": true,
"custom_field": false,
"meta_data": {
"data_type": "object",
"link": {
"display": true,
"model_type": "user"
}
}
},
{
"name": "assignee",
"title": "Assignee",
"sortable": true,
"groupable": true,
"custom_field": false,
"meta_data": {
"data_type": "object",
"link": {
"display": true,
"model_type": "user"
}
}
},
{
"name": "responsible",
"title": "Responsible",
"sortable": true,
"groupable": true,
"custom_field": false,
"meta_data": {
"data_type": "object",
"link": {
"display": true,
"model_type": "user"
}
}
},
{
"name": "category",
"title": "Category",
"sortable": true,
"groupable": true,
"custom_field": false,
"meta_data": {
"data_type": "object",
"link": {
"display": false
}
}
},
{
"name": "version",
"title": "Version",
"sortable": true,
"groupable": true,
"custom_field": false,
"meta_data": {
"data_type": "object",
"link": {
"display": false
}
}
},
{
"name": "percentageDone",
"title": "Progress (%)",
"sortable": true,
"groupable": true,
"custom_field": false,
"meta_data": {
"data_type": "integer",
"link": {
"display": false
}
}
},
{
"name": "customField1",
"title": "fooInt",
"sortable": true,
"groupable": true,
"custom_field": {
"id": 1,
"field_format": "int"
},
"meta_data": {
"data_type": "int",
"link": {
"display": false
}
}
}
],
"page": 1,
"per_page": 20,
"per_page_options": [
20,
100
],
"export_formats": [
{
"identifier": "atom",
"format": "atom",
"label_locale": "label_format_atom"
},
{
"identifier": "pdf",
"format": "pdf",
"label_locale": "label_format_pdf"
},
{
"identifier": "pdf-descr",
"format": "pdf",
"label_locale": "label_format_pdf_with_descriptions",
"flags": [
"show_descriptions"
]
},
{
"identifier": "csv",
"format": "csv",
"label_locale": "label_format_csv"
}
],
"_links": {
"create": "/api/experimental/work_packages.demo-project",
"export": "/api/experimental/work_packages.demo-project"
}
},
"_bulk_links": {
"update": "/work_packages/bulk/edit",
"move": "/work_packages/move/new",
"copy": "/work_packages/move/new?copy=true",
"delete": "/work_packages/bulk?_method=delete"
},
"_links": {
"create": "/projects/demo-project/work_packages/new"
}
}