Skip to content

astra db endpoints Enhancement, trim url for client usage #294

@clun

Description

@clun

Description

When listing endpoints for a database i have a feedback.

Even if data-api endpoints returned is technically valid if you copy past the value and use it with a CLIENT you got a 502 bad gatewaym it is NOT the same link as you will get in astra PORTAL. I proposed to update to trim the end of the URL or split CURL endpoint to client endpoint.

astra db endpoints list astra_aws_us_east_2

┌────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Endpoint   │ URL                                                                                                │
├────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ api        │ https://8460e4f1-57d5-46e7-bff0-4f7b25458a92-us-east-2.apps.astra.datastax.com                     │
│ swagger    │ https://8460e4f1-57d5-46e7-bff0-4f7b25458a92-us-east-2.apps.astra.datastax.com/api/json/swagger-ui │
│ playground │ https://8460e4f1-57d5-46e7-bff0-4f7b25458a92-us-east-2.apps.astra.datastax.com/api/playground      │
│ data-api   │ https://8460e4f1-57d5-46e7-bff0-4f7b25458a92-us-east-2.apps.astra.datastax.com/api/v1/json         │
└────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions