screwdriver-api 8.0.197 → 8.0.198

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-api",
3
- "version": "8.0.197",
3
+ "version": "8.0.198",
4
4
  "description": "API server for the Screwdriver.cd service",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -8,7 +8,7 @@ const { getUserPermissions, getScmUri } = require('../../helper');
8
8
 
9
9
  module.exports = () => ({
10
10
  method: 'DELETE',
11
- path: '/pipelines/{id}/tokens',
11
+ path: '/pipelines/{pipelineId}/tokens',
12
12
  options: {
13
13
  description: 'Remove all tokens for a specific pipeline',
14
14
  notes: 'Returns null if successful',
@@ -54,7 +54,7 @@ module.exports = () => ({
54
54
  },
55
55
  validate: {
56
56
  params: joi.object({
57
- id: idSchema
57
+ pipelineId: idSchema
58
58
  })
59
59
  }
60
60
  }