dalux-build-api 1.0.4 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +365 -300
- package/package.json +46 -46
- package/src/api/CompaniesApi.js +60 -60
- package/src/api/CompanyCatalogApi.js +108 -108
- package/src/api/FileAreasApi.js +37 -37
- package/src/api/FileRevisionsApi.js +31 -31
- package/src/api/FileUploadApi.js +64 -64
- package/src/api/FilesApi.js +297 -72
- package/src/api/FoldersApi.js +58 -58
- package/src/api/FormsApi.js +48 -48
- package/src/api/InspectionPlansApi.js +62 -62
- package/src/api/ProjectTemplatesApi.js +25 -25
- package/src/api/ProjectsApi.js +106 -106
- package/src/api/TasksApi.js +161 -87
- package/src/api/TestPlansApi.js +59 -59
- package/src/api/UsersApi.js +47 -47
- package/src/api/VersionSetsApi.js +67 -67
- package/src/api/WorkPackagesApi.js +26 -26
- package/src/apiClient.js +75 -75
- package/src/configuration.js +24 -24
- package/src/index.js +92 -92
package/src/api/FormsApi.js
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* API methods for forms on a project.
|
|
5
|
-
*/
|
|
6
|
-
class FormsApi {
|
|
7
|
-
/**
|
|
8
|
-
* @param {import('../apiClient')} apiClient
|
|
9
|
-
*/
|
|
10
|
-
constructor(apiClient) {
|
|
11
|
-
this._client = apiClient;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Retrieve forms on a project.
|
|
16
|
-
* GET /2.1/projects/{projectId}/forms
|
|
17
|
-
* @param {string} projectId
|
|
18
|
-
* @param {object} [params] - Optional filters (e.g. updatedAfter)
|
|
19
|
-
* @returns {Promise<object>}
|
|
20
|
-
*/
|
|
21
|
-
getProjectForms(projectId, params = {}) {
|
|
22
|
-
return this._client.get(`/2.1/projects/${projectId}/forms`, params);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Retrieve a specific form.
|
|
27
|
-
* GET /1.2/projects/{projectId}/forms/{formId}
|
|
28
|
-
* @param {string} projectId
|
|
29
|
-
* @param {string} formId
|
|
30
|
-
* @returns {Promise<object>}
|
|
31
|
-
*/
|
|
32
|
-
getForm(projectId, formId) {
|
|
33
|
-
return this._client.get(`/1.2/projects/${projectId}/forms/${formId}`);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Retrieve attachments on forms on a project in incremental updates.
|
|
38
|
-
* GET /2.1/projects/{projectId}/forms/attachments
|
|
39
|
-
* @param {string} projectId
|
|
40
|
-
* @param {object} [params] - Optional filters (e.g. updatedAfter)
|
|
41
|
-
* @returns {Promise<object>}
|
|
42
|
-
*/
|
|
43
|
-
getProjectFormAttachments(projectId, params = {}) {
|
|
44
|
-
return this._client.get(`/2.1/projects/${projectId}/forms/attachments`, params);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
module.exports = FormsApi;
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* API methods for forms on a project.
|
|
5
|
+
*/
|
|
6
|
+
class FormsApi {
|
|
7
|
+
/**
|
|
8
|
+
* @param {import('../apiClient')} apiClient
|
|
9
|
+
*/
|
|
10
|
+
constructor(apiClient) {
|
|
11
|
+
this._client = apiClient;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Retrieve forms on a project.
|
|
16
|
+
* GET /2.1/projects/{projectId}/forms
|
|
17
|
+
* @param {string} projectId
|
|
18
|
+
* @param {object} [params] - Optional filters (e.g. updatedAfter)
|
|
19
|
+
* @returns {Promise<object>}
|
|
20
|
+
*/
|
|
21
|
+
getProjectForms(projectId, params = {}) {
|
|
22
|
+
return this._client.get(`/2.1/projects/${projectId}/forms`, params);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Retrieve a specific form.
|
|
27
|
+
* GET /1.2/projects/{projectId}/forms/{formId}
|
|
28
|
+
* @param {string} projectId
|
|
29
|
+
* @param {string} formId
|
|
30
|
+
* @returns {Promise<object>}
|
|
31
|
+
*/
|
|
32
|
+
getForm(projectId, formId) {
|
|
33
|
+
return this._client.get(`/1.2/projects/${projectId}/forms/${formId}`);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Retrieve attachments on forms on a project in incremental updates.
|
|
38
|
+
* GET /2.1/projects/{projectId}/forms/attachments
|
|
39
|
+
* @param {string} projectId
|
|
40
|
+
* @param {object} [params] - Optional filters (e.g. updatedAfter)
|
|
41
|
+
* @returns {Promise<object>}
|
|
42
|
+
*/
|
|
43
|
+
getProjectFormAttachments(projectId, params = {}) {
|
|
44
|
+
return this._client.get(`/2.1/projects/${projectId}/forms/attachments`, params);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
module.exports = FormsApi;
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* API methods for inspection plans.
|
|
5
|
-
*/
|
|
6
|
-
class InspectionPlansApi {
|
|
7
|
-
/**
|
|
8
|
-
* @param {import('../apiClient')} apiClient
|
|
9
|
-
*/
|
|
10
|
-
constructor(apiClient) {
|
|
11
|
-
this._client = apiClient;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Browse all inspection plans on the given project.
|
|
16
|
-
* GET /1.2/projects/{projectId}/inspectionPlans
|
|
17
|
-
* @param {string} projectId
|
|
18
|
-
* @param {object} [params]
|
|
19
|
-
* @returns {Promise<object>}
|
|
20
|
-
*/
|
|
21
|
-
listInspectionPlans(projectId, params = {}) {
|
|
22
|
-
return this._client.get(`/1.2/projects/${projectId}/inspectionPlans`, params);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Browse all inspection plan items on the given project.
|
|
27
|
-
* GET /1.1/projects/{projectId}/inspectionPlanItems
|
|
28
|
-
* @param {string} projectId
|
|
29
|
-
* @param {object} [params]
|
|
30
|
-
* @returns {Promise<object>}
|
|
31
|
-
*/
|
|
32
|
-
listInspectionPlanItems(projectId, params = {}) {
|
|
33
|
-
return this._client.get(`/1.1/projects/${projectId}/inspectionPlanItems`, params);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Browse all inspection plan item zones on the given project.
|
|
38
|
-
* GET /1.1/projects/{projectId}/inspectionPlanItemZones
|
|
39
|
-
* @param {string} projectId
|
|
40
|
-
* @param {object} [params]
|
|
41
|
-
* @returns {Promise<object>}
|
|
42
|
-
*/
|
|
43
|
-
listInspectionPlanItemZones(projectId, params = {}) {
|
|
44
|
-
return this._client.get(`/1.1/projects/${projectId}/inspectionPlanItemZones`, params);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Browse all inspection plan registrations on the given project.
|
|
49
|
-
* GET /2.1/projects/{projectId}/inspectionPlanRegistrations
|
|
50
|
-
* @param {string} projectId
|
|
51
|
-
* @param {object} [params]
|
|
52
|
-
* @returns {Promise<object>}
|
|
53
|
-
*/
|
|
54
|
-
listInspectionPlanRegistrations(projectId, params = {}) {
|
|
55
|
-
return this._client.get(
|
|
56
|
-
`/2.1/projects/${projectId}/inspectionPlanRegistrations`,
|
|
57
|
-
params,
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
module.exports = InspectionPlansApi;
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* API methods for inspection plans.
|
|
5
|
+
*/
|
|
6
|
+
class InspectionPlansApi {
|
|
7
|
+
/**
|
|
8
|
+
* @param {import('../apiClient')} apiClient
|
|
9
|
+
*/
|
|
10
|
+
constructor(apiClient) {
|
|
11
|
+
this._client = apiClient;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Browse all inspection plans on the given project.
|
|
16
|
+
* GET /1.2/projects/{projectId}/inspectionPlans
|
|
17
|
+
* @param {string} projectId
|
|
18
|
+
* @param {object} [params]
|
|
19
|
+
* @returns {Promise<object>}
|
|
20
|
+
*/
|
|
21
|
+
listInspectionPlans(projectId, params = {}) {
|
|
22
|
+
return this._client.get(`/1.2/projects/${projectId}/inspectionPlans`, params);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Browse all inspection plan items on the given project.
|
|
27
|
+
* GET /1.1/projects/{projectId}/inspectionPlanItems
|
|
28
|
+
* @param {string} projectId
|
|
29
|
+
* @param {object} [params]
|
|
30
|
+
* @returns {Promise<object>}
|
|
31
|
+
*/
|
|
32
|
+
listInspectionPlanItems(projectId, params = {}) {
|
|
33
|
+
return this._client.get(`/1.1/projects/${projectId}/inspectionPlanItems`, params);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Browse all inspection plan item zones on the given project.
|
|
38
|
+
* GET /1.1/projects/{projectId}/inspectionPlanItemZones
|
|
39
|
+
* @param {string} projectId
|
|
40
|
+
* @param {object} [params]
|
|
41
|
+
* @returns {Promise<object>}
|
|
42
|
+
*/
|
|
43
|
+
listInspectionPlanItemZones(projectId, params = {}) {
|
|
44
|
+
return this._client.get(`/1.1/projects/${projectId}/inspectionPlanItemZones`, params);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Browse all inspection plan registrations on the given project.
|
|
49
|
+
* GET /2.1/projects/{projectId}/inspectionPlanRegistrations
|
|
50
|
+
* @param {string} projectId
|
|
51
|
+
* @param {object} [params]
|
|
52
|
+
* @returns {Promise<object>}
|
|
53
|
+
*/
|
|
54
|
+
listInspectionPlanRegistrations(projectId, params = {}) {
|
|
55
|
+
return this._client.get(
|
|
56
|
+
`/2.1/projects/${projectId}/inspectionPlanRegistrations`,
|
|
57
|
+
params,
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
module.exports = InspectionPlansApi;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* API methods for project templates.
|
|
5
|
-
*/
|
|
6
|
-
class ProjectTemplatesApi {
|
|
7
|
-
/**
|
|
8
|
-
* @param {import('../apiClient')} apiClient
|
|
9
|
-
*/
|
|
10
|
-
constructor(apiClient) {
|
|
11
|
-
this._client = apiClient;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Get all available project templates on the company profile.
|
|
16
|
-
* GET /1.1/projectTemplates
|
|
17
|
-
* @param {object} [params]
|
|
18
|
-
* @returns {Promise<object>}
|
|
19
|
-
*/
|
|
20
|
-
listProjectTemplates(params = {}) {
|
|
21
|
-
return this._client.get('/1.1/projectTemplates', params);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
module.exports = ProjectTemplatesApi;
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* API methods for project templates.
|
|
5
|
+
*/
|
|
6
|
+
class ProjectTemplatesApi {
|
|
7
|
+
/**
|
|
8
|
+
* @param {import('../apiClient')} apiClient
|
|
9
|
+
*/
|
|
10
|
+
constructor(apiClient) {
|
|
11
|
+
this._client = apiClient;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Get all available project templates on the company profile.
|
|
16
|
+
* GET /1.1/projectTemplates
|
|
17
|
+
* @param {object} [params]
|
|
18
|
+
* @returns {Promise<object>}
|
|
19
|
+
*/
|
|
20
|
+
listProjectTemplates(params = {}) {
|
|
21
|
+
return this._client.get('/1.1/projectTemplates', params);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
module.exports = ProjectTemplatesApi;
|
package/src/api/ProjectsApi.js
CHANGED
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* API methods for project management.
|
|
5
|
-
*/
|
|
6
|
-
class ProjectsApi {
|
|
7
|
-
/**
|
|
8
|
-
* @param {import('../apiClient')} apiClient
|
|
9
|
-
*/
|
|
10
|
-
constructor(apiClient) {
|
|
11
|
-
this._client = apiClient;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Get all available projects.
|
|
16
|
-
* GET /5.1/projects
|
|
17
|
-
* @param {object} [params] - Optional query parameters (e.g. updatedAfter)
|
|
18
|
-
* @returns {Promise<object>}
|
|
19
|
-
*/
|
|
20
|
-
listProjects(params = {}) {
|
|
21
|
-
return this._client.get('/5.1/projects', params);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Get a specific project.
|
|
26
|
-
* GET /5.0/projects/{projectId}
|
|
27
|
-
* @param {string} projectId
|
|
28
|
-
* @returns {Promise<object>}
|
|
29
|
-
*/
|
|
30
|
-
getProject(projectId) {
|
|
31
|
-
return this._client.get(`/5.0/projects/${projectId}`);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Create a new project.
|
|
36
|
-
* POST /5.0/projects
|
|
37
|
-
* @param {object} body
|
|
38
|
-
* @returns {Promise<object>}
|
|
39
|
-
*/
|
|
40
|
-
createProject(body) {
|
|
41
|
-
return this._client.post('/5.0/projects', body);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Update a project.
|
|
46
|
-
* PATCH /5.0/projects/{projectId}
|
|
47
|
-
* @param {string} projectId
|
|
48
|
-
* @param {object} body
|
|
49
|
-
* @returns {Promise<object>}
|
|
50
|
-
*/
|
|
51
|
-
updateProject(projectId, body) {
|
|
52
|
-
return this._client.patch(`/5.0/projects/${projectId}`, body);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Get all metadata available for POST project operations.
|
|
57
|
-
* GET /1.0/projects/metadata/1.0/mappings
|
|
58
|
-
* @returns {Promise<object>}
|
|
59
|
-
*/
|
|
60
|
-
listMetadataMappingsForProjects() {
|
|
61
|
-
return this._client.get('/1.0/projects/metadata/1.0/mappings');
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Get available values for a metadata key in POST project operations.
|
|
66
|
-
* GET /1.0/projects/metadata/1.0/mappings/{key}/values
|
|
67
|
-
* @param {string} key
|
|
68
|
-
* @returns {Promise<object>}
|
|
69
|
-
*/
|
|
70
|
-
listMetadataValuesForProjects(key) {
|
|
71
|
-
return this._client.get(`/1.0/projects/metadata/1.0/mappings/${key}/values`);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Get metadata of a specific project.
|
|
76
|
-
* GET /1.0/projects/{projectId}/metadata
|
|
77
|
-
* @param {string} projectId
|
|
78
|
-
* @returns {Promise<object>}
|
|
79
|
-
*/
|
|
80
|
-
listProjectMetadata(projectId) {
|
|
81
|
-
return this._client.get(`/1.0/projects/${projectId}/metadata`);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Get all metadata available for PATCH project operations.
|
|
86
|
-
* GET /1.0/projects/{projectId}/metadata/1.0/mappings
|
|
87
|
-
* @param {string} projectId
|
|
88
|
-
* @returns {Promise<object>}
|
|
89
|
-
*/
|
|
90
|
-
listProjectMetadataMappings(projectId) {
|
|
91
|
-
return this._client.get(`/1.0/projects/${projectId}/metadata/1.0/mappings`);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Get available values for metadata in a PATCH project operation.
|
|
96
|
-
* GET /1.0/projects/{projectId}/metadata/1.0/mappings/{key}/values
|
|
97
|
-
* @param {string} projectId
|
|
98
|
-
* @param {string} key
|
|
99
|
-
* @returns {Promise<object>}
|
|
100
|
-
*/
|
|
101
|
-
listProjectMetadataValues(projectId, key) {
|
|
102
|
-
return this._client.get(`/1.0/projects/${projectId}/metadata/1.0/mappings/${key}/values`);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
module.exports = ProjectsApi;
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* API methods for project management.
|
|
5
|
+
*/
|
|
6
|
+
class ProjectsApi {
|
|
7
|
+
/**
|
|
8
|
+
* @param {import('../apiClient')} apiClient
|
|
9
|
+
*/
|
|
10
|
+
constructor(apiClient) {
|
|
11
|
+
this._client = apiClient;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Get all available projects.
|
|
16
|
+
* GET /5.1/projects
|
|
17
|
+
* @param {object} [params] - Optional query parameters (e.g. updatedAfter)
|
|
18
|
+
* @returns {Promise<object>}
|
|
19
|
+
*/
|
|
20
|
+
listProjects(params = {}) {
|
|
21
|
+
return this._client.get('/5.1/projects', params);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Get a specific project.
|
|
26
|
+
* GET /5.0/projects/{projectId}
|
|
27
|
+
* @param {string} projectId
|
|
28
|
+
* @returns {Promise<object>}
|
|
29
|
+
*/
|
|
30
|
+
getProject(projectId) {
|
|
31
|
+
return this._client.get(`/5.0/projects/${projectId}`);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Create a new project.
|
|
36
|
+
* POST /5.0/projects
|
|
37
|
+
* @param {object} body
|
|
38
|
+
* @returns {Promise<object>}
|
|
39
|
+
*/
|
|
40
|
+
createProject(body) {
|
|
41
|
+
return this._client.post('/5.0/projects', body);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Update a project.
|
|
46
|
+
* PATCH /5.0/projects/{projectId}
|
|
47
|
+
* @param {string} projectId
|
|
48
|
+
* @param {object} body
|
|
49
|
+
* @returns {Promise<object>}
|
|
50
|
+
*/
|
|
51
|
+
updateProject(projectId, body) {
|
|
52
|
+
return this._client.patch(`/5.0/projects/${projectId}`, body);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Get all metadata available for POST project operations.
|
|
57
|
+
* GET /1.0/projects/metadata/1.0/mappings
|
|
58
|
+
* @returns {Promise<object>}
|
|
59
|
+
*/
|
|
60
|
+
listMetadataMappingsForProjects() {
|
|
61
|
+
return this._client.get('/1.0/projects/metadata/1.0/mappings');
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Get available values for a metadata key in POST project operations.
|
|
66
|
+
* GET /1.0/projects/metadata/1.0/mappings/{key}/values
|
|
67
|
+
* @param {string} key
|
|
68
|
+
* @returns {Promise<object>}
|
|
69
|
+
*/
|
|
70
|
+
listMetadataValuesForProjects(key) {
|
|
71
|
+
return this._client.get(`/1.0/projects/metadata/1.0/mappings/${key}/values`);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Get metadata of a specific project.
|
|
76
|
+
* GET /1.0/projects/{projectId}/metadata
|
|
77
|
+
* @param {string} projectId
|
|
78
|
+
* @returns {Promise<object>}
|
|
79
|
+
*/
|
|
80
|
+
listProjectMetadata(projectId) {
|
|
81
|
+
return this._client.get(`/1.0/projects/${projectId}/metadata`);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Get all metadata available for PATCH project operations.
|
|
86
|
+
* GET /1.0/projects/{projectId}/metadata/1.0/mappings
|
|
87
|
+
* @param {string} projectId
|
|
88
|
+
* @returns {Promise<object>}
|
|
89
|
+
*/
|
|
90
|
+
listProjectMetadataMappings(projectId) {
|
|
91
|
+
return this._client.get(`/1.0/projects/${projectId}/metadata/1.0/mappings`);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Get available values for metadata in a PATCH project operation.
|
|
96
|
+
* GET /1.0/projects/{projectId}/metadata/1.0/mappings/{key}/values
|
|
97
|
+
* @param {string} projectId
|
|
98
|
+
* @param {string} key
|
|
99
|
+
* @returns {Promise<object>}
|
|
100
|
+
*/
|
|
101
|
+
listProjectMetadataValues(projectId, key) {
|
|
102
|
+
return this._client.get(`/1.0/projects/${projectId}/metadata/1.0/mappings/${key}/values`);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
module.exports = ProjectsApi;
|