href of entity set respected?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 268
- Forks
- 100
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I am trying to access the entity set “APIs” of https://api.sap.com/odata/1.0/catalog.svc/
If I execute https://api.sap.com/odata/1.0/catalog.svc/ in the browser I get
APIsHowever if I execute
client.entity_sets.APIs.get_entities().execute()
in python while tracing the url’s I see:
https://api.sap.com:443 "GET /odata/1.0/catalog.svc/APIs HTTP/1.1" 200 None
this naturally does not work as the URL path should be https://api.sap.com/odata/1.0/catalog.svc/APIContent.APIs/ (which does work in the browser).
Am I using the API wrong? What should I be executing instead of client.entity_sets.APIs.get_entities().execute() ?
Best regards,
Rene.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the client.entity_sets.APIs.get_entities().execute() entry point and trace the URL it generates for the SAP OData service. Compare the generated path with the collection href APIContent.APIs; done means determining whether the href is respected or documenting the correct supported call.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100