[PR #308] [CLOSED] Add App Store Server API diagnostics CLI #433

Closed
opened 2026-02-26 22:30:54 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/308
Author: @rudrankriyam
Created: 1/29/2026
Status: Closed

Base: mainHead: feat/server-api-diagnostics


📝 Commits (1)

  • 39bf7fa Add App Store Server API diagnostics

📊 Changes

20 files changed (+3206 additions, -104 deletions)

View changed files

internal/asc/client_http_server_api_test.go (+387 -0)
📝 internal/asc/client_types.go (+104 -104)
📝 internal/asc/output_core.go (+32 -0)
internal/asc/output_server_api.go (+222 -0)
internal/asc/output_server_api_test.go (+328 -0)
internal/asc/server_api_client.go (+449 -0)
internal/asc/server_api_types.go (+216 -0)
📝 internal/cli/registry/registry.go (+2 -0)
internal/cli/server/commands.go (+8 -0)
internal/cli/server/server.go (+38 -0)
internal/cli/server/server_helpers.go (+247 -0)
internal/cli/server/server_history.go (+176 -0)
internal/cli/server/server_notifications.go (+349 -0)
internal/cli/server/server_order.go (+77 -0)
internal/cli/server/server_refunds.go (+115 -0)
internal/cli/server/server_status.go (+61 -0)
internal/cli/server/server_test.go (+194 -0)
internal/cli/server/server_transaction.go (+77 -0)
internal/cli/server/shared_wrappers.go (+30 -0)
internal/cli/shared/server_api_auth.go (+94 -0)

📄 Description

Summary

  • add App Store Server API client, env auth, and request helpers
  • add asc server commands for subscriptions, transactions, refunds, orders, and notifications (watch/pagination)
  • add output formatters and tests for new response types

Test plan

  • PATH=\"$PATH:$HOME/go/bin\" make build
  • PATH=\"$PATH:$HOME/go/bin\" make lint
  • PATH=\"$PATH:$HOME/go/bin\" make test
  • ASC_IAP_* ... ./asc server notifications history --start ... --end ... --notification-type TEST
  • ASC_IAP_* ... ./asc server notifications request-test (fails: no notification URL configured for SANDBOX)
  • Transaction-based endpoints (need real transaction IDs)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/308 **Author:** [@rudrankriyam](https://github.com/rudrankriyam) **Created:** 1/29/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/server-api-diagnostics` --- ### 📝 Commits (1) - [`39bf7fa`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/39bf7fafa7fffb934488540cbbe9ef63b2ddef5e) Add App Store Server API diagnostics ### 📊 Changes **20 files changed** (+3206 additions, -104 deletions) <details> <summary>View changed files</summary> ➕ `internal/asc/client_http_server_api_test.go` (+387 -0) 📝 `internal/asc/client_types.go` (+104 -104) 📝 `internal/asc/output_core.go` (+32 -0) ➕ `internal/asc/output_server_api.go` (+222 -0) ➕ `internal/asc/output_server_api_test.go` (+328 -0) ➕ `internal/asc/server_api_client.go` (+449 -0) ➕ `internal/asc/server_api_types.go` (+216 -0) 📝 `internal/cli/registry/registry.go` (+2 -0) ➕ `internal/cli/server/commands.go` (+8 -0) ➕ `internal/cli/server/server.go` (+38 -0) ➕ `internal/cli/server/server_helpers.go` (+247 -0) ➕ `internal/cli/server/server_history.go` (+176 -0) ➕ `internal/cli/server/server_notifications.go` (+349 -0) ➕ `internal/cli/server/server_order.go` (+77 -0) ➕ `internal/cli/server/server_refunds.go` (+115 -0) ➕ `internal/cli/server/server_status.go` (+61 -0) ➕ `internal/cli/server/server_test.go` (+194 -0) ➕ `internal/cli/server/server_transaction.go` (+77 -0) ➕ `internal/cli/server/shared_wrappers.go` (+30 -0) ➕ `internal/cli/shared/server_api_auth.go` (+94 -0) </details> ### 📄 Description ## Summary - add App Store Server API client, env auth, and request helpers - add `asc server` commands for subscriptions, transactions, refunds, orders, and notifications (watch/pagination) - add output formatters and tests for new response types ## Test plan - [x] `PATH=\"$PATH:$HOME/go/bin\" make build` - [x] `PATH=\"$PATH:$HOME/go/bin\" make lint` - [x] `PATH=\"$PATH:$HOME/go/bin\" make test` - [x] `ASC_IAP_* ... ./asc server notifications history --start ... --end ... --notification-type TEST` - [ ] `ASC_IAP_* ... ./asc server notifications request-test` (fails: no notification URL configured for SANDBOX) - [ ] Transaction-based endpoints (need real transaction IDs) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 22:30:54 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/App-Store-Connect-CLI#433
No description provided.