Labels
activeCollab ships with a set of predefined labels. You can fetch the full list of predefined labels by callging /labels
:
Response: HTTP 200, application/json (Hide)
GET /labels
Response:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
[ { "id": 1, "class": "ProjectLabel", "url_path": "\/labels\/1", "name": "NEW", "updated_on": null, "color": "#FFFF00", "is_default": false, "position": 1 }, { "id": 5, "class": "TaskLabel", "url_path": "\/labels\/5", "name": "NEW", "updated_on": null, "color": "#00B25C", "is_default": false, "position": 1, "is_global": true }, { "id": 2, "class": "ProjectLabel", "url_path": "\/labels\/2", "name": "INPROGRESS", "updated_on": null, "color": "#00A651", "is_default": false, "position": 2 }, { "id": 6, "class": "TaskLabel", "url_path": "\/labels\/6", "name": "CONFIRMED", "updated_on": null, "color": "#F26522", "is_default": false, "position": 2, "is_global": true }, { "id": 3, "class": "ProjectLabel", "url_path": "\/labels\/3", "name": "CANCELED", "updated_on": null, "color": "#FF0000", "is_default": false, "position": 3 }, { "id": 7, "class": "TaskLabel", "url_path": "\/labels\/7", "name": "WORKS FOR ME", "updated_on": null, "color": "#00B25C", "is_default": false, "position": 3, "is_global": true }, { "id": 4, "class": "ProjectLabel", "url_path": "\/labels\/4", "name": "PAUSED", "updated_on": null, "color": "#0000FF", "is_default": false, "position": 4 }, { "id": 8, "class": "TaskLabel", "url_path": "\/labels\/8", "name": "DUPLICATE", "updated_on": null, "color": "#00B25C", "is_default": false, "position": 4, "is_global": true }, { "id": 9, "class": "TaskLabel", "url_path": "\/labels\/9", "name": "WONT FIX", "updated_on": null, "color": "#00B25C", "is_default": false, "position": 5, "is_global": true }, { "id": 10, "class": "TaskLabel", "url_path": "\/labels\/10", "name": "ASSIGNED", "updated_on": null, "color": "#FF0000", "is_default": false, "position": 6, "is_global": true }, { "id": 11, "class": "TaskLabel", "url_path": "\/labels\/11", "name": "BLOCKED", "updated_on": null, "color": "#ACACAC", "is_default": false, "position": 7, "is_global": true }, { "id": 12, "class": "TaskLabel", "url_path": "\/labels\/12", "name": "IN PROGRESS", "updated_on": null, "color": "#00B25C", "is_default": false, "position": 8, "is_global": true }, { "id": 13, "class": "TaskLabel", "url_path": "\/labels\/13", "name": "FIXED", "updated_on": null, "color": "#0000FF", "is_default": false, "position": 9, "is_global": true }, { "id": 14, "class": "TaskLabel", "url_path": "\/labels\/14", "name": "REOPENED", "updated_on": null, "color": "#FF0000", "is_default": false, "position": 10, "is_global": true }, { "id": 15, "class": "TaskLabel", "url_path": "\/labels\/15", "name": "VERIFIED", "updated_on": null, "color": "#00B25C", "is_default": false, "position": 11, "is_global": true } ]
or you can get labels by type:
Response: HTTP 200, application/json (Hide)
GET /labels/project-labels
Response:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
[ { "id": 1, "class": "ProjectLabel", "url_path": "\/labels\/1", "name": "NEW", "updated_on": null, "color": "#FFFF00", "is_default": false, "position": 1 }, { "id": 2, "class": "ProjectLabel", "url_path": "\/labels\/2", "name": "INPROGRESS", "updated_on": null, "color": "#00A651", "is_default": false, "position": 2 }, { "id": 3, "class": "ProjectLabel", "url_path": "\/labels\/3", "name": "CANCELED", "updated_on": null, "color": "#FF0000", "is_default": false, "position": 3 }, { "id": 4, "class": "ProjectLabel", "url_path": "\/labels\/4", "name": "PAUSED", "updated_on": null, "color": "#0000FF", "is_default": false, "position": 4 } ]
Response: HTTP 200, application/json (Hide)
GET /labels/task-labels
Response:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
[ { "id": 5, "class": "TaskLabel", "url_path": "\/labels\/5", "name": "NEW", "updated_on": null, "color": "#00B25C", "is_default": false, "position": 1, "is_global": true }, { "id": 6, "class": "TaskLabel", "url_path": "\/labels\/6", "name": "CONFIRMED", "updated_on": null, "color": "#F26522", "is_default": false, "position": 2, "is_global": true }, { "id": 7, "class": "TaskLabel", "url_path": "\/labels\/7", "name": "WORKS FOR ME", "updated_on": null, "color": "#00B25C", "is_default": false, "position": 3, "is_global": true }, { "id": 8, "class": "TaskLabel", "url_path": "\/labels\/8", "name": "DUPLICATE", "updated_on": null, "color": "#00B25C", "is_default": false, "position": 4, "is_global": true }, { "id": 9, "class": "TaskLabel", "url_path": "\/labels\/9", "name": "WONT FIX", "updated_on": null, "color": "#00B25C", "is_default": false, "position": 5, "is_global": true }, { "id": 10, "class": "TaskLabel", "url_path": "\/labels\/10", "name": "ASSIGNED", "updated_on": null, "color": "#FF0000", "is_default": false, "position": 6, "is_global": true }, { "id": 11, "class": "TaskLabel", "url_path": "\/labels\/11", "name": "BLOCKED", "updated_on": null, "color": "#ACACAC", "is_default": false, "position": 7, "is_global": true }, { "id": 12, "class": "TaskLabel", "url_path": "\/labels\/12", "name": "IN PROGRESS", "updated_on": null, "color": "#00B25C", "is_default": false, "position": 8, "is_global": true }, { "id": 13, "class": "TaskLabel", "url_path": "\/labels\/13", "name": "FIXED", "updated_on": null, "color": "#0000FF", "is_default": false, "position": 9, "is_global": true }, { "id": 14, "class": "TaskLabel", "url_path": "\/labels\/14", "name": "REOPENED", "updated_on": null, "color": "#FF0000", "is_default": false, "position": 10, "is_global": true }, { "id": 15, "class": "TaskLabel", "url_path": "\/labels\/15", "name": "VERIFIED", "updated_on": null, "color": "#00B25C", "is_default": false, "position": 11, "is_global": true } ]