Skip to content

Commit 75de591

Browse files
committed
Rename gateway artifact retrieval resource
1 parent 0d07477 commit 75de591

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

platform-api/spec/impls/gateway-management/gateway-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Gateway Management provides APIs for registering, managing, and deleting API gat
2929
| PUT | `/api/v1/gateways/{id}` | Update gateway | ✅ Implemented |
3030
| DELETE | `/api/v1/gateways/{id}` | Delete gateway | ✅ Implemented |
3131
| POST | `/api/v1/gateways/{id}/tokens` | Rotate gateway token | ✅ Implemented |
32-
| GET | `/api/v1/gateways/{id}/artifacts` | Get deployed artifacts | ✅ Implemented |
32+
| GET | `/api/v1/gateways/{id}/live-proxy-artifacts` | Get deployed artifacts | ✅ Implemented |
3333
| DELETE | `/api/v1/gateways/{id}/tokens/{tokenId}` | Revoke token | ⏳ Planned |
3434

3535
## Authentication & Authorization

platform-api/src/internal/handler/gateway.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ func (h *GatewayHandler) RotateToken(c *gin.Context) {
321321
c.JSON(http.StatusCreated, response)
322322
}
323323

324-
// GetGatewayArtifacts handles GET /api/v1/gateways/{gatewayId}/artifacts
324+
// GetGatewayArtifacts handles GET /api/v1/gateways/{gatewayId}/live-proxy-artifacts
325325
func (h *GatewayHandler) GetGatewayArtifacts(c *gin.Context) {
326326
orgId, exists := middleware.GetOrganizationFromContext(c)
327327
if !exists {
@@ -376,7 +376,7 @@ func (h *GatewayHandler) RegisterRoutes(r *gin.Engine) {
376376
gatewayGroup.PUT("/:gatewayId", h.UpdateGateway)
377377
gatewayGroup.DELETE("/:gatewayId", h.DeleteGateway)
378378
gatewayGroup.POST("/:gatewayId/tokens", h.RotateToken)
379-
gatewayGroup.GET("/:gatewayId/artifacts", h.GetGatewayArtifacts)
379+
gatewayGroup.GET("/:gatewayId/live-proxy-artifacts", h.GetGatewayArtifacts)
380380
}
381381

382382
gatewayStatusGroup := r.Group("/api/v1/status")

platform-api/src/resources/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ paths:
673673
'500':
674674
$ref: '#/components/responses/InternalServerError'
675675

676-
/gateways/{gatewayId}/artifacts:
676+
/gateways/{gatewayId}/live-proxy-artifacts:
677677
get:
678678
summary: Get gateway artifacts
679679
description: |

0 commit comments

Comments
 (0)