Hi everyone!
I'm trying to use
/apis/{owner} that "Retrieves an APIs.json listing of all APIs defined for this owner", from SwaggerHub Registry API's to get my own API's.
I'm in an angular project and I can already get the response of a request to get the public apis from a owner,
- {name: "Default listing", description: "Default registry listing", url: "apis/arctouch3", offset: 0, totalCount: 3, …}
- apis: Array(3)
- 0: {name: "KL API", description: "KL API", tags: Array(0), properties: Array(9)}
- 1: {name: "Simple Inventory API", description: "This is a simple API", tags: Array(0), properties: Array(9)}
- 2: {name: "Simple Inventory API", description: "This is a simple API", tags: Array(0), properties: Array(9)}
- length: 3
- __proto__: Array(0)
- description: "Default registry listing"
- name: "Default listing"
- offset: 0
- totalCount: 3
- url: "apis/arctouch3"
- __proto__: Object
but when i try to get my list of api's that are private a response is that i don't have api.
- {name: "Default listing", description: "Default registry listing", url: "apis/myusername", offset: 0, totalCount: 0, …}
- apis: Array(0)
- length: 0
- __proto__: Array(0)
- description: "Default registry listing"
- name: "Default listing"
- offset: 0
- totalCount: 0
- url: "apis/myusername"
- __proto__: Object
I already config the "apiConfiguration" with my api key like this, including my username and password to see if i can be successed but with no valid results
apiConfiguration: {
apiKeys: { shKey: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX' },
username:'myUsername',
password: 'myPassword'
},
What's necessary for me to get the list of private api?