Skip to content

Commit 8fcfc34

Browse files
committed
Auto-generate wrapper from updated spec
1 parent 501d29a commit 8fcfc34

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

docs/ResourcesDiscoveryApi.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ let opts = {
9898
'resourceIds': "resourceIds_example", // String | A comma-separated list of resource IDs to filter on.
9999
'page': 1, // Number | The page number to return.
100100
'perPage': 25, // Number | The number of resources to return per page.
101-
'noDependencies': true // Boolean |
101+
'noDependencies': true, // Boolean | Whether or not to exclude resources with dependencies listed.
102+
'excludedResourceIds': "excludedResourceIds_example", // String | A comma-separated list of resource IDs to exclude. No filter will be applied if empty.
103+
'excludedCreatorIds': "excludedCreatorIds_example" // String | A comma-separated list of creator IDs to exclude. No filter will be applied if empty.
102104
};
103105
apiInstance.getResourcesDiscoverResources(opts, (error, data, response) => {
104106
if (error) {
@@ -120,7 +122,9 @@ Name | Type | Description | Notes
120122
**resourceIds** | **String**| A comma-separated list of resource IDs to filter on. | [optional]
121123
**page** | **Number**| The page number to return. | [optional] [default to 1]
122124
**perPage** | **Number**| The number of resources to return per page. | [optional] [default to 25]
123-
**noDependencies** | **Boolean**| | [optional]
125+
**noDependencies** | **Boolean**| Whether or not to exclude resources with dependencies listed. | [optional]
126+
**excludedResourceIds** | **String**| A comma-separated list of resource IDs to exclude. No filter will be applied if empty. | [optional]
127+
**excludedCreatorIds** | **String**| A comma-separated list of creator IDs to exclude. No filter will be applied if empty. | [optional]
124128

125129
### Return type
126130

src/api/ResourcesDiscoveryApi.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ export default class ResourcesDiscoveryApi {
108108
* @param {String} [resourceIds] A comma-separated list of resource IDs to filter on.
109109
* @param {Number} [page = 1)] The page number to return.
110110
* @param {Number} [perPage = 25)] The number of resources to return per page.
111-
* @param {Boolean} [noDependencies]
111+
* @param {Boolean} [noDependencies] Whether or not to exclude resources with dependencies listed.
112+
* @param {String} [excludedResourceIds] A comma-separated list of resource IDs to exclude. No filter will be applied if empty.
113+
* @param {String} [excludedCreatorIds] A comma-separated list of creator IDs to exclude. No filter will be applied if empty.
112114
* @param {module:api/ResourcesDiscoveryApi~getResourcesDiscoverResourcesCallback} callback The callback function, accepting three arguments: error, data, response
113115
* data is of type: {@link module:model/GetResourcesDiscoverResources200Response}
114116
*/
@@ -125,7 +127,9 @@ export default class ResourcesDiscoveryApi {
125127
'resource_ids': opts['resourceIds'],
126128
'page': opts['page'],
127129
'per_page': opts['perPage'],
128-
'no_dependencies': opts['noDependencies']
130+
'no_dependencies': opts['noDependencies'],
131+
'excluded_resource_ids': opts['excludedResourceIds'],
132+
'excluded_creator_ids': opts['excludedCreatorIds']
129133
};
130134
let headerParams = {
131135
};

0 commit comments

Comments
 (0)