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

222 lines
5.3 KiB

{
"_type": "WorkPackage",
"_links": {
"self": {
"href": "/api/v3/work_packages/820",
"title": "66666"
},
"delete": {
"href": "/work_packages/bulk?ids=820",
"method": "delete",
"title": "Delete 66666"
},
"log_time": {
"href": "/work_packages/820/time_entries/new",
"type": "text/html",
"title": "Log time on 66666"
},
"duplicate": {
"href": "/projects/seeded_project/work_packages/new?copy_from=820",
"type": "text/html",
"title": "Duplicate 66666"
},
"move": {
"href": "/work_packages/820/move/new",
"type": "text/html",
"title": "Move 66666"
},
"author": {
"href": "/api/v3/users/5",
"title": "Freida Fay - Christine6938"
},
"availableWatchers": {
"href": "/api/v3/work_packages/820/available_watchers",
"title": "Available Watchers"
},
"watch": {
"href": "/api/v3/work_packages/820/watchers",
"method": "post",
"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",
"title": "Add child of 66666"
},
"changeParent": {
"href": "/api/v3/work_packages/820",
"method": "patch",
"title": "Change parent of 66666"
},
"addComment": {
"href": "/api/v3/work_packages/820/activities",
"method": "post",
"title": "Add comment"
},
"parent": {
"href": "/api/v3/work_packages/54",
"title": "asd"
},
"timeEntries": {
"href": "/work_packages/820/time_entries",
"type": "text/html",
"title": "Time entries"
},
"project": {
"href": "/api/v3/projects/1",
"title": "Seeded Project"
},
"schema": {
"href": "/api/v3/work_packages/schemas/1-7"
},
"revisions": {
"href": "/api/v3/work_packages/820/revisions"
},
"attachments": {
"href": "/api/v3/work_packages/820/attachments"
},
"activities": {
"href": "/api/v3/work_packages/820/activities"
}
},
"id": 820,
"subject": "66666",
"type": "Feature",
"description": {
"format": "textile",
"html": "<p><a href=\"/work_packages/54\" class=\"issue work_package status-4 priority-2 parent\" title=\"asd (to be scheduled)\">#54</a><br />2</p>",
"raw": "#54\n2"
},
"priority": "Normal",
"startDate": "2014-10-23",
"dueDate": "2014-12-27",
"estimatedTime": "PT0S",
"spentTime": "PT0S",
"percentageDone": 0,
"parentId": 54,
"createdAt": "2014-11-05T15:56:53Z",
"updatedAt": "2014-11-21T08:48:57Z",
"customProperties": [
{
"name": "dolorum quidem",
"format": "text",
"value": null
},
{
"name": "aut mollitia",
"format": "text",
"value": null
},
{
"name": "est exercitationem",
"format": "text",
"value": null
}
],
"_embedded": {
"status": {
"name": "rejected",
"isClosed": true
},
"priority": {
"name": "high"
},
"author": {
"_type": "User",
"_links": {
"self": {
"href": "/api/v3/users/5",
"title": "Freida Fay - Christine6938"
}
},
"id": 5,
"login": "Christine6938",
"subtype": "User",
"firstName": "Freida",
"lastName": "Fay",
"name": "Freida Fay",
"email": "elwyn_dickens@gulgowskicasper.biz",
"avatar": "",
"createdAt": "2014-11-05T15:56:820Z",
"updatedAt": "2014-11-05T15:56:820Z",
"status": 1
},
"version": {
"_type": "Version",
"_links": {
"self": {
"href": "/api/v3/versions/1",
"title": "v2"
},
"definingProject": {
"href": null
},
"availableInProjects": {
"href": "/api/v3/versions/1/projects"
}
},
"id": 1,
"name": "v2",
"description": {
"format": "plain",
"raw": ""
},
"startDate": "2014-10-23",
"endDate": null,
"status": "open",
"createdAt": "01/21/2015/ 09:30 AM",
"updatedAt": "01/21/2015/ 09:30 AM"
},
"project": {
"_type": "Project",
"_links": {
"self": {
"href": "/api/v3/projects/1",
"title": "No Plugins Project"
},
"categories": {
"href": "/api/v3/projects/1/categories"
},
"versions": {
"href": "/api/v3/projects/1/versions"
}
},
"id": 1,
"identifier": "seeded-project",
"name": "Seeded Project",
"description": "",
"createdAt": "2014-04-30T13:28:51+00:00",
"updatedAt": "2014-04-30T13:28:51+00:00",
"type": null
},
"watchers": [],
"attachments" : {
"_links" : {
"self" : {
"href" : "/api/v3/work_packages/820/attachments"
}
},
"_type" : "Collection",
"total" : 0,
"count" : 0,
"_embedded" : {
"elements" : []
}
},
"relations": []
}
}