-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[spaceship] Use new app store statuses to filter app versions and app…
… infos (#21895) * [spaceship] Use new app store statuses to filter app versions and app infos * [spaceship] Filter app infos using state attribute * Remove developer removed from state from filter * Add PROCESSING_FOR_DISTRIBUTION to filter live app store versions * Update submit_for_review_spec to use app_version_state * Renaming attribute in docs * Add attribute to fixtures * Add a fixture and test for app info
- Loading branch information
1 parent
3c3a937
commit e8fe2a9
Showing
10 changed files
with
205 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
137 changes: 137 additions & 0 deletions
137
spaceship/spec/connect_api/fixtures/tunes/app_infos.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"type": "appInfos", | ||
"id": "1111-11111", | ||
"attributes": { | ||
"appStoreState": "READY_FOR_SALE", | ||
"state": "READY_FOR_DISTRIBUTION", | ||
"appStoreAgeRating": "FOUR_PLUS", | ||
"brazilAgeRating": "L", | ||
"brazilAgeRatingV2": "SELF_RATED_L", | ||
"kidsAgeBand": null | ||
}, | ||
"relationships": { | ||
"ageRatingDeclaration": { | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111/relationships/ageRatingDeclaration", | ||
"related": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111/ageRatingDeclaration" | ||
} | ||
}, | ||
"appInfoLocalizations": { | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111/relationships/appInfoLocalizations", | ||
"related": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111/appInfoLocalizations" | ||
} | ||
}, | ||
"primaryCategory": { | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111/relationships/primaryCategory", | ||
"related": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111/primaryCategory" | ||
} | ||
}, | ||
"primarySubcategoryOne": { | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111/relationships/primarySubcategoryOne", | ||
"related": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111/primarySubcategoryOne" | ||
} | ||
}, | ||
"primarySubcategoryTwo": { | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111/relationships/primarySubcategoryTwo", | ||
"related": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111/primarySubcategoryTwo" | ||
} | ||
}, | ||
"secondaryCategory": { | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111/relationships/secondaryCategory", | ||
"related": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111/secondaryCategory" | ||
} | ||
}, | ||
"secondarySubcategoryOne": { | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111/relationships/secondarySubcategoryOne", | ||
"related": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111/secondarySubcategoryOne" | ||
} | ||
}, | ||
"secondarySubcategoryTwo": { | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111/relationships/secondarySubcategoryTwo", | ||
"related": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111/secondarySubcategoryTwo" | ||
} | ||
} | ||
}, | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-11111" | ||
} | ||
}, | ||
{ | ||
"type": "appInfos", | ||
"id": "1111-2222", | ||
"attributes": { | ||
"appStoreState": "PREPARE_FOR_SUBMISSION", | ||
"state": "PREPARE_FOR_SUBMISSION", | ||
"appStoreAgeRating": "FOUR_PLUS", | ||
"brazilAgeRating": "L", | ||
"brazilAgeRatingV2": "SELF_RATED_L", | ||
"kidsAgeBand": null | ||
}, | ||
"relationships": { | ||
"ageRatingDeclaration": { | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222/relationships/ageRatingDeclaration", | ||
"related": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222/ageRatingDeclaration" | ||
} | ||
}, | ||
"appInfoLocalizations": { | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222/relationships/appInfoLocalizations", | ||
"related": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222/appInfoLocalizations" | ||
} | ||
}, | ||
"primaryCategory": { | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222/relationships/primaryCategory", | ||
"related": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222/primaryCategory" | ||
} | ||
}, | ||
"primarySubcategoryOne": { | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222/relationships/primarySubcategoryOne", | ||
"related": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222/primarySubcategoryOne" | ||
} | ||
}, | ||
"primarySubcategoryTwo": { | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222/relationships/primarySubcategoryTwo", | ||
"related": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222/primarySubcategoryTwo" | ||
} | ||
}, | ||
"secondaryCategory": { | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222/relationships/secondaryCategory", | ||
"related": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222/secondaryCategory" | ||
} | ||
}, | ||
"secondarySubcategoryOne": { | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222/relationships/secondarySubcategoryOne", | ||
"related": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222/secondarySubcategoryOne" | ||
} | ||
}, | ||
"secondarySubcategoryTwo": { | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222/relationships/secondarySubcategoryTwo", | ||
"related": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222/secondarySubcategoryTwo" | ||
} | ||
} | ||
}, | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/appInfos/1111-2222" | ||
} | ||
} | ||
], | ||
"links": { | ||
"self": "https://appstoreconnect.apple.com/iris/v1/apps/123456789/appInfos" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters