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/820.json

463 lines
13 KiB

{
"_type": "WorkPackage",
"_links": {
"self": {
"href": "/api/v3/work_packages/820",
10 years ago
"title": "veritatis voluptas hic qui praesentium tempora illum omnis"
10 years ago
},
10 years ago
"schema": {
"href": "/api/v3/work_packages/schemas/1-7"
},
"updateImmediately": {
"href": "/api/v3/work_packages/820",
"method": "patch",
"title": "Update veritatis voluptas hic qui praesentium tempora illum omnis"
},
"delete": {
"href": "/work_packages/bulk?ids=820",
"method": "delete",
10 years ago
"title": "Delete veritatis voluptas hic qui praesentium tempora illum omnis"
},
"log_time": {
"href": "/work_packages/820/time_entries/new",
"type": "text/html",
10 years ago
"title": "Log time on veritatis voluptas hic qui praesentium tempora illum omnis"
},
"duplicate": {
"href": "/projects/seeded_project/work_packages/new?copy_from=820",
"type": "text/html",
10 years ago
"title": "Duplicate veritatis voluptas hic qui praesentium tempora illum omnis"
},
"move": {
"href": "/work_packages/820/move/new",
"type": "text/html",
10 years ago
"title": "Move veritatis voluptas hic qui praesentium tempora illum omnis"
},
"type": {
"href": "/api/v3/types/5",
"title": "Phase"
},
"status": {
"href": "/api/v3/statuses/1",
"title": "new"
},
"author": {
"href": "/api/v3/users/5",
10 years ago
"title": "Alexandrine Heidenreich"
},
"responsible": {
"href": null
},
"assignee": {
"href": null
},
"availableWatchers": {
"href": "/api/v3/work_packages/820/available_watchers",
"title": "Available Watchers"
},
"watchChanges": {
"href": "/api/v3/work_packages/820/watchers",
"method": "post",
10 years ago
"data": {
"user_id": 1
},
"title": "Watch work package"
},
"addWatcher": {
"href": "/api/v3/work_packages/820/watchers{?user_id}",
"method": "post",
"title": "Add watcher",
"templated": true
},
"addRelation": {
"href": "/api/v3/work_packages/820/relations",
"method": "post",
"title": "Add relation"
},
"addChild": {
"href": "/projects/seeded_project/work_packages/new?work_package%5Bparent_id%5D=820",
"type": "text/html",
10 years ago
"title": "Add child of veritatis voluptas hic qui praesentium tempora illum omnis"
},
"changeParent": {
"href": "/api/v3/work_packages/820",
"method": "patch",
10 years ago
"title": "Change parent of veritatis voluptas hic qui praesentium tempora illum omnis"
},
"addComment": {
"href": "/api/v3/work_packages/820/activities",
"method": "post",
"title": "Add comment"
10 years ago
},
"parent": {
10 years ago
"href": null
10 years ago
},
"timeEntries": {
"href": "/work_packages/820/time_entries",
"type": "text/html",
"title": "Time entries"
},
10 years ago
"category": {
"href": null
},
"priority": {
"href": "/api/v3/priorities/2",
"title": "Normal"
},
"project": {
"href": "/api/v3/projects/1",
"title": "Seeded Project"
},
10 years ago
"version": {
"href": null
},
"log_costs": {
"href": "/work_packages/820/cost_entries/new",
"type": "text/html",
"title": "Log costs on veritatis voluptas hic qui praesentium tempora illum omnis"
},
"costObject": {
"href": null
},
10 years ago
"costsByType": {
"href": "/api/v3/work_packages/820/summarized_costs_by_type"
},
10 years ago
"customField8": {
"href": null
},
"customField11": {
"href": null
},
"customField12": {
"href": null
}
10 years ago
},
"_embedded": {
10 years ago
"type": {
"_type": "Type",
"_links": {
"self": {
"href": "/api/v3/types/5",
"title": "Phase"
}
},
"id": 5,
"name": "Phase",
"color": "#66CC99",
"position": 4,
"isDefault": true,
"isMilestone": false,
"createdAt": "2015-02-13T10:08:52+00:00",
"updatedAt": "2015-02-13T10:08:52+00:00"
},
10 years ago
"status": {
"_type": "Status",
"_links": {
"self": {
"href": "/api/v3/statuses/1",
"title": "new"
}
},
"id": 1,
"name": "new",
"isClosed": false,
"isDefault": true,
"defaultDoneRatio": null,
"position": 1
},
"author": {
"_type": "User",
"_links": {
"self": {
"href": "/api/v3/users/5",
10 years ago
"title": "Alexandrine Heidenreich"
}
},
"id": 5,
10 years ago
"login": "Kari4599",
"subtype": "User",
10 years ago
"firstName": "Alexandrine",
"lastName": "Heidenreich",
"name": "Alexandrine Heidenreich",
"email": "marlene_gibson@hyatthane.name",
"avatar": "",
10 years ago
"createdAt": "2015-02-13T10:09:05+00:00",
"updatedAt": "2015-02-13T10:09:05+00:00",
"status": "active"
},
"priority": {
"_type": "Priority",
"_links": {
"self": {
"href": "/api/v3/priorities/2",
"title": "Normal"
}
},
"id": 2,
"name": "Normal",
"position": 2,
"isDefault": true,
"isActive": true
},
"project": {
"_type": "Project",
"_links": {
"self": {
"href": "/api/v3/projects/1",
"title": "Seeded Project"
},
"categories": {
"href": "/api/v3/projects/1/categories"
},
"versions": {
"href": "/api/v3/projects/1/versions"
}
},
"id": 1,
"identifier": "seeded_project",
"name": "Seeded Project",
"description": "Voluptatibus omnis accusantium autem qui est. Sed soluta cupiditate quaerat. Voluptatem ipsam quod qui sit id. Iusto earum numquam quia aut. Ad quia autem. Eveniet non est. Praesentium rerum et vitae provident vel.",
"homepage": "",
"createdAt": "2015-02-13T10:08:53+00:00",
"updatedAt": "2015-02-13T10:08:53+00:00",
"type": null
},
"activities": [
{
"_type": "Activity",
"_links": {
"self": {
10 years ago
"href": "/api/v3/activities/333",
"title": "333"
},
"workPackage": {
10 years ago
"href": "/api/v3/work_packages/65",
"title": "veritatis voluptas hic qui praesentium tempora illum omnis"
},
"user": {
"href": "/api/v3/users/3",
"title": "Anonymous - "
},
"update": {
10 years ago
"href": "/api/v3/activities/333",
"method": "patch",
10 years ago
"title": "333"
}
},
10 years ago
"id": 333,
"comment": {
"format": "textile",
"raw": "",
"html": ""
},
10 years ago
"details": [
10 years ago
{
"format": "custom",
"raw": "Type set to Phase",
"html": "<strong>Type</strong> set to <i title=\"Phase\">Phase</i>"
},
10 years ago
{
"format": "custom",
"raw": "Project set to Seeded Project",
"html": "<strong>Project</strong> set to <i title=\"Seeded Project\">Seeded Project</i>"
},
10 years ago
{
"format": "custom",
"raw": "Subject set to veritatis voluptas hic qui praesentium tempora illum omnis",
"html": "<strong>Subject</strong> set to <i title=\"veritatis voluptas hic qui praesentium tempora illum omnis\">veritatis voluptas hic qui praesentium tempora illum omnis</i>"
},
10 years ago
{
"format": "custom",
"raw": "Description set (/journals/333/diff/description)",
"html": "<strong>Description</strong> set (<a href=\"/journals/333/diff/description\" class=\"description-details\">Details</a>)"
},
10 years ago
{
"format": "custom",
"raw": "Due date set to 04/29/2015",
"html": "<strong>Due date</strong> set to <i title=\"04/29/2015\">04/29/2015</i>"
},
10 years ago
{
"format": "custom",
"raw": "Status set to new",
"html": "<strong>Status</strong> set to <i title=\"new\">new</i>"
},
10 years ago
{
"format": "custom",
"raw": "Priority set to Normal",
"html": "<strong>Priority</strong> set to <i title=\"Normal\">Normal</i>"
},
10 years ago
{
"format": "custom",
"raw": "Author set to Alexandrine Heidenreich",
"html": "<strong>Author</strong> set to <i title=\"Alexandrine Heidenreich\">Alexandrine Heidenreich</i>"
},
10 years ago
{
"format": "custom",
"raw": "% done changed from 0 to 0",
"html": "<strong>% done</strong> changed from <i title=\"0\">0</i> to <i title=\"0\">0</i>"
},
10 years ago
{
"format": "custom",
"raw": "Start date set to 02/17/2015",
"html": "<strong>Start date</strong> set to <i title=\"02/17/2015\">02/17/2015</i>"
}
],
10 years ago
"version": 1,
"createdAt": "2015-02-13T10:09:07+00:00"
},
{
"_type": "Activity",
"_links": {
"self": {
10 years ago
"href": "/api/v3/activities/816",
"title": "816"
},
"workPackage": {
10 years ago
"href": "/api/v3/work_packages/65",
"title": "veritatis voluptas hic qui praesentium tempora illum omnis"
},
"user": {
10 years ago
"href": "/api/v3/users/1",
"title": "OpenProject Admin - admin"
},
"update": {
10 years ago
"href": "/api/v3/activities/816",
"method": "patch",
10 years ago
"title": "816"
}
},
10 years ago
"id": 816,
"comment": {
"format": "textile",
"raw": "",
"html": ""
},
"details": [
10 years ago
{
"format": "custom",
"raw": "Status changed from new to in progress",
"html": "<strong>Status</strong> changed from <i title=\"new\">new</i> to <i title=\"in progress\">in progress</i>"
}
],
10 years ago
"version": 2,
"createdAt": "2015-04-07T13:36:43+00:00"
},
{
10 years ago
"_type": "Activity::Comment",
"_links": {
"self": {
10 years ago
"href": "/api/v3/activities/817",
"title": "817"
},
"workPackage": {
10 years ago
"href": "/api/v3/work_packages/65",
"title": "veritatis voluptas hic qui praesentium tempora illum omnis"
},
"user": {
10 years ago
"href": "/api/v3/users/1",
"title": "OpenProject Admin - admin"
},
"update": {
10 years ago
"href": "/api/v3/activities/817",
"method": "patch",
10 years ago
"title": "817"
}
},
10 years ago
"id": 817,
"comment": {
"format": "textile",
"raw": "I have a comment",
"html": "<p>I have a comment</p>"
},
10 years ago
"details": [],
"version": 3,
"createdAt": "2015-04-07T13:37:09+00:00"
},
{
10 years ago
"_type": "Activity::Comment",
"_links": {
"self": {
10 years ago
"href": "/api/v3/activities/818",
"title": "818"
},
"workPackage": {
10 years ago
"href": "/api/v3/work_packages/65",
"title": "veritatis voluptas hic qui praesentium tempora illum omnis"
},
"user": {
10 years ago
"href": "/api/v3/users/1",
"title": "OpenProject Admin - admin"
},
"update": {
10 years ago
"href": "/api/v3/activities/818",
"method": "patch",
10 years ago
"title": "818"
}
},
10 years ago
"id": 818,
"comment": {
"format": "textile",
"raw": "And another one",
"html": "<p>And another one</p>"
},
10 years ago
"details": [],
"version": 4,
"createdAt": "2015-04-07T13:37:33+00:00"
}
],
"watchers": [],
"attachments": [],
"relations": [],
"costsByType": {
"_type": "Collection",
"_links": {
"self": {
"href": "/api/v3/work_packages/820/summarized_costs_by_type"
}
},
10 years ago
"total": 0,
"count": 0,
"_embedded": {
"elements": []
}
10 years ago
}
},
"id": 820,
"lockVersion": 1,
"subject": "veritatis voluptas hic qui praesentium tempora illum omnis",
"description": {
"format": "textile",
"raw": "Tutis vulgivagus alveus appello. Triginta nostrum sit eum. Enim crudelis tremo adfectus auris nam adiuvo. Terreo absque aegrus decerno aegrotatio sui. Facere candidus illo spiculum. Et voluntarius acidus qui.",
"html": "<p>Tutis vulgivagus alveus appello. Triginta nostrum sit eum. Enim crudelis tremo adfectus auris nam adiuvo. Terreo absque aegrus decerno aegrotatio sui. Facere candidus illo spiculum. Et voluntarius acidus qui.</p>"
},
"startDate": "2015-02-17",
"dueDate": "2015-04-29",
"estimatedTime": null,
"spentTime": "PT0S",
"percentageDone": 0,
"createdAt": "2015-02-13T10:09:07+00:00",
"updatedAt": "2015-02-13T10:09:07+00:00",
"storyPoints": null,
"remainingTime": null,
"customField1": {
"format": "plain",
"raw": null,
"html": ""
},
"customField2": {
"format": "plain",
"raw": null,
"html": ""
},
"customField3": {
"format": "plain",
"raw": null,
"html": ""
},
"customField4": null,
"customField5": null,
"customField6": null,
"customField7": null,
"customField9": null,
"customField10": null
}