You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So this could me totally having no idea what I'm doing. I've setup a basic method and one of my parameters is an optional integer. When nothing is set and a call is made the parameter gets added to the url as -1. Is there something I did wrong? Here's the json I have for the parameter
"WsAssetGET": {
"name": "WsAsset",
"description": "Returns asset/list of assets for a given param information, urls, thumbnail,reference file,associated files,captions,assocaited links and metadata.",
"httpMethod": "GET",
"protocol": "REST",
"parameters": {
"apiv": {
"default": "5",
"required": true,
"type": "integer",
"description": "The api version; only version 5 supported.",
"location": "path"
},
"start": {
"required": false,
"type": "integer",
"description": "Will return a subset of available assets. Used primarily for pagination. Default is set to 0"
},
"end": {
"required": false,
"type": "integer",
"description": "Will return a subset of available assets. Used primarily for pagination. Default is set to start+20 Zero-based inclusive index: E.G. &start=0&send=4 will return five programs from the beginning."
},
"folder": {
"required": false,
"type": "integer",
"description": "filter for folder id for a given account"
},
},
"path": "/ws/ws_asset/apiv/{apiv}"
}
The text was updated successfully, but these errors were encountered:
So this could me totally having no idea what I'm doing. I've setup a basic method and one of my parameters is an optional integer. When nothing is set and a call is made the parameter gets added to the url as -1. Is there something I did wrong? Here's the json I have for the parameter
The text was updated successfully, but these errors were encountered: