[PR #388] [MERGED] Add content rights declaration support to apps update command #491

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

📋 Pull Request Information

Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/388
Author: @rudrankriyam
Created: 2/1/2026
Status: Merged
Merged: 2/1/2026
Merged by: @rudrankriyam

Base: mainHead: feature/content-rights-declaration


📝 Commits (1)

  • 23a46ee Add content rights declaration support to apps update command

📊 Changes

2 files changed (+25 additions, -13 deletions)

View changed files

📝 internal/asc/client_apps.go (+9 -7)
📝 internal/cli/apps/apps.go (+16 -6)

📄 Description

Summary

  • Add --content-rights flag to asc apps update command
  • Support setting contentRightsDeclaration field on apps via CLI
  • This field is required for App Store submission and was previously only settable via the web UI

Changes

  • internal/asc/client_apps.go: Add ContentRightsDeclaration field to AppAttributes and AppUpdateAttributes
  • internal/cli/apps/apps.go: Add --content-rights flag with validation for valid values

Usage

# Set content rights to indicate app does not use third-party content
asc apps update --id "APP_ID" --content-rights "DOES_NOT_USE_THIRD_PARTY_CONTENT"

# Set content rights to indicate app uses third-party content
asc apps update --id "APP_ID" --content-rights "USES_THIRD_PARTY_CONTENT"

Valid Values

  • DOES_NOT_USE_THIRD_PARTY_CONTENT - App does not contain, show, or access third-party content
  • USES_THIRD_PARTY_CONTENT - App contains, shows, or accesses third-party content

Test plan

  • Verified flag is accepted and validated
  • Tested updating an app's content rights declaration successfully
  • Confirmed the field appears in app response after update

🔄 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/388 **Author:** [@rudrankriyam](https://github.com/rudrankriyam) **Created:** 2/1/2026 **Status:** ✅ Merged **Merged:** 2/1/2026 **Merged by:** [@rudrankriyam](https://github.com/rudrankriyam) **Base:** `main` ← **Head:** `feature/content-rights-declaration` --- ### 📝 Commits (1) - [`23a46ee`](https://github.com/rudrankriyam/App-Store-Connect-CLI/commit/23a46ee464bbe176677d32a9a29967252fc5d3cb) Add content rights declaration support to apps update command ### 📊 Changes **2 files changed** (+25 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `internal/asc/client_apps.go` (+9 -7) 📝 `internal/cli/apps/apps.go` (+16 -6) </details> ### 📄 Description ## Summary - Add `--content-rights` flag to `asc apps update` command - Support setting `contentRightsDeclaration` field on apps via CLI - This field is required for App Store submission and was previously only settable via the web UI ## Changes - `internal/asc/client_apps.go`: Add `ContentRightsDeclaration` field to `AppAttributes` and `AppUpdateAttributes` - `internal/cli/apps/apps.go`: Add `--content-rights` flag with validation for valid values ## Usage ```bash # Set content rights to indicate app does not use third-party content asc apps update --id "APP_ID" --content-rights "DOES_NOT_USE_THIRD_PARTY_CONTENT" # Set content rights to indicate app uses third-party content asc apps update --id "APP_ID" --content-rights "USES_THIRD_PARTY_CONTENT" ``` ## Valid Values - `DOES_NOT_USE_THIRD_PARTY_CONTENT` - App does not contain, show, or access third-party content - `USES_THIRD_PARTY_CONTENT` - App contains, shows, or accesses third-party content ## Test plan - [x] Verified flag is accepted and validated - [x] Tested updating an app's content rights declaration successfully - [x] Confirmed the field appears in app response after update --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 22:31:12 +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#491
No description provided.