Added custom fields to projects

pull/1972/head
Marek Takac 11 years ago
parent 3818465ccf
commit 2c06996880
  1. 94
      apiary.apib

@ -236,6 +236,16 @@ List all projects.
"createdAt": "2014-05-07T03:42:54Z",
"updatedAt": "2014-05-07T03:42:54Z",
"summary": "My project summary",
"customFields": [{
"name": "CustomField1",
"type": "select",
"value": "red",
"possibleValues": ["red", "blue", "yellow"]
}, {
"name": "CustomField2",
"type": "text",
"value": "Lorem ipsum dolor sit amet."
}],
"_type": "Project",
"_links": {
@ -260,6 +270,16 @@ List all projects.
"createdAt": "2014-05-07T03:42:54Z",
"updatedAt": "2014-05-07T03:42:54Z",
"summary": "My project summary",
"customFields": [{
"name": "CustomField1",
"type": "select",
"value": "red",
"possibleValues": ["red", "blue", "yellow"]
}, {
"name": "CustomField2",
"type": "text",
"value": "Lorem ipsum dolor sit amet."
}],
"_type": "Project",
"_links": {
@ -349,10 +369,19 @@ Create new project(s)
"id": 2,
"name": "Create project name",
"description": "Create project description",
"createdAt": "2014-05-07T03:42:54Z",
"updatedAt": "2014-05-07T03:42:54Z",
"summary": "Create project summary",
"customFields": [{
"name": "CustomField1",
"type": "select",
"value": "red",
"possibleValues": ["red", "blue", "yellow"]
}, {
"name": "CustomField2",
"type": "text",
"value": "Lorem ipsum dolor sit amet."
}],
"_type": "Project",
"_links": {
@ -382,10 +411,19 @@ Create new project(s)
"id": 1,
"name": "Create project name",
"description": "Create project description",
"createdAt": "2014-05-07T03:42:54Z",
"updatedAt": "2014-05-07T03:42:54Z",
"summary": "My project summary",
"customFields": [{
"name": "CustomField1",
"type": "select",
"value": "red",
"possibleValues": ["red", "blue", "yellow"]
}, {
"name": "CustomField2",
"type": "text",
"value": "Lorem ipsum dolor sit amet."
}],
"_type": "Project",
"_links": {
@ -433,10 +471,19 @@ Get a project details.
"id": 1,
"name": "My project name",
"description": "My project description",
"createdAt": "2014-05-07T03:42:54Z",
"updatedAt": "2014-05-07T03:42:54Z",
"summary": "My project summary",
"customFields": [{
"name": "CustomField1",
"type": "select",
"value": "red",
"possibleValues": ["red", "blue", "yellow"]
}, {
"name": "CustomField2",
"type": "text",
"value": "Lorem ipsum dolor sit amet."
}],
"_type": "Project",
"_links": {
@ -478,10 +525,19 @@ Update a project.
"id": 1,
"name": "Project update",
"description": "Updated project description",
"createdAt": "2014-05-07T03:42:54Z",
"updatedAt": "2014-05-07T03:42:54Z",
"summary": "My project summary",
"customFields": [{
"name": "CustomField1",
"type": "select",
"value": "red",
"possibleValues": ["red", "blue", "yellow"]
}, {
"name": "CustomField2",
"type": "text",
"value": "Lorem ipsum dolor sit amet."
}],
"_type": "Project",
"_links": {
@ -559,6 +615,16 @@ Batch update selected projects. There are two possible ways to perform a batch u
"createdAt": "2014-05-07T03:42:54Z",
"updatedAt": "2014-05-07T03:42:54Z",
"summary": "My project summary",
"customFields": [{
"name": "CustomField1",
"type": "select",
"value": "red",
"possibleValues": ["red", "blue", "yellow"]
}, {
"name": "CustomField2",
"type": "text",
"value": "Lorem ipsum dolor sit amet."
}],
"_type": "Project",
"_links": {
@ -586,6 +652,16 @@ Batch update selected projects. There are two possible ways to perform a batch u
"createdAt": "2014-05-07T03:42:54Z",
"updatedAt": "2014-05-07T03:42:54Z",
"summary": "My project summary",
"customFields": [{
"name": "CustomField1",
"type": "select",
"value": "red",
"possibleValues": ["red", "blue", "yellow"]
}, {
"name": "CustomField2",
"type": "text",
"value": "Lorem ipsum dolor sit amet."
}],
"_type": "Project",
"_links": {
@ -632,6 +708,16 @@ Batch delete selected projects.
"createdAt": "2014-05-07T03:42:54Z",
"updatedAt": "2014-05-07T03:42:54Z",
"summary": "My project summary",
"customFields": [{
"name": "CustomField1",
"type": "select",
"value": "red",
"possibleValues": ["red", "blue", "yellow"]
}, {
"name": "CustomField2",
"type": "text",
"value": "Lorem ipsum dolor sit amet."
}],
"_type": "Project",
"_links": {

Loading…
Cancel
Save