Hi everyone!
I'm trying to use /apis/{owner}
<https://app.swaggerhub.com/apis-docs/swagger-hub/registry-api/1.0.45#/APIs/getOwnerApis>
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,
1. {name: "Default listing", description: "Default registry listing", url:
"apis/arctouch3", offset: 0, totalCount: 3, …}
1. apis: Array(3)
1. 0: {name: "KL API", description: "KL API", tags: Array(0),
properties: Array(9)}
2. 1: {name: "Simple Inventory API", description: "This is a
simple API", tags: Array(0), properties: Array(9)}
3. 2: {name: "Simple Inventory API", description: "This is a
simple API", tags: Array(0), properties: Array(9)}
4. length: 3
5. __proto__: Array(0)
2. description: "Default registry listing"
3. name: "Default listing"
4. offset: 0
5. totalCount: 3
6. url: "apis/arctouch3"
7. __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.
1. {name: "Default listing", description: "Default registry listing", url:
"apis/myusername", offset: 0, totalCount: 0, …}
1. apis: Array(0)
1. length: 0
2. __proto__: Array(0)
2. description: "Default registry listing"
3. name: "Default listing"
4. offset: 0
5. totalCount: 0
6. url: "apis/myusername"
7. __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?
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.