All URIs are relative to https://api.appstoreconnect.apple.com
Method | HTTP request | Description |
---|---|---|
gameCenterLeaderboardImagesCreateInstance | POST /v1/gameCenterLeaderboardImages | |
gameCenterLeaderboardImagesDeleteInstance | DELETE /v1/gameCenterLeaderboardImages/{id} | |
gameCenterLeaderboardImagesGetInstance | GET /v1/gameCenterLeaderboardImages/{id} | |
gameCenterLeaderboardImagesUpdateInstance | PATCH /v1/gameCenterLeaderboardImages/{id} |
open class func gameCenterLeaderboardImagesCreateInstance(gameCenterLeaderboardImageCreateRequest: GameCenterLeaderboardImageCreateRequest, completion: @escaping (_ data: GameCenterLeaderboardImageResponse?, _ error: Error?) -> Void)
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import ASC
let gameCenterLeaderboardImageCreateRequest = GameCenterLeaderboardImageCreateRequest(data: GameCenterLeaderboardImageCreateRequest_data(type: "type_example", attributes: AppClipAdvancedExperienceImageCreateRequest_data_attributes(fileSize: 123, fileName: "fileName_example"), relationships: GameCenterLeaderboardImageCreateRequest_data_relationships(gameCenterLeaderboardLocalization: GameCenterLeaderboardImageCreateRequest_data_relationships_gameCenterLeaderboardLocalization(data: GameCenterLeaderboardImage_relationships_gameCenterLeaderboardLocalization_data(type: "type_example", id: "id_example"))))) // GameCenterLeaderboardImageCreateRequest | GameCenterLeaderboardImage representation
GameCenterLeaderboardImagesAPI.gameCenterLeaderboardImagesCreateInstance(gameCenterLeaderboardImageCreateRequest: gameCenterLeaderboardImageCreateRequest) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
gameCenterLeaderboardImageCreateRequest | GameCenterLeaderboardImageCreateRequest | GameCenterLeaderboardImage representation |
GameCenterLeaderboardImageResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func gameCenterLeaderboardImagesDeleteInstance(id: String, completion: @escaping (_ data: Void?, _ error: Error?) -> Void)
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import ASC
let id = "id_example" // String | the id of the requested resource
GameCenterLeaderboardImagesAPI.gameCenterLeaderboardImagesDeleteInstance(id: id) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource |
Void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func gameCenterLeaderboardImagesGetInstance(id: String, fieldsGameCenterLeaderboardImages: [FieldsGameCenterLeaderboardImages_gameCenterLeaderboardImagesGetInstance]? = nil, include: [Include_gameCenterLeaderboardImagesGetInstance]? = nil, completion: @escaping (_ data: GameCenterLeaderboardImageResponse?, _ error: Error?) -> Void)
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import ASC
let id = "id_example" // String | the id of the requested resource
let fieldsGameCenterLeaderboardImages = ["fieldsGameCenterLeaderboardImages_example"] // [String] | the fields to include for returned resources of type gameCenterLeaderboardImages (optional)
let include = ["include_example"] // [String] | comma-separated list of relationships to include (optional)
GameCenterLeaderboardImagesAPI.gameCenterLeaderboardImagesGetInstance(id: id, fieldsGameCenterLeaderboardImages: fieldsGameCenterLeaderboardImages, include: include) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
fieldsGameCenterLeaderboardImages | [String] | the fields to include for returned resources of type gameCenterLeaderboardImages | [optional] |
include | [String] | comma-separated list of relationships to include | [optional] |
GameCenterLeaderboardImageResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func gameCenterLeaderboardImagesUpdateInstance(id: String, gameCenterLeaderboardImageUpdateRequest: GameCenterLeaderboardImageUpdateRequest, completion: @escaping (_ data: GameCenterLeaderboardImageResponse?, _ error: Error?) -> Void)
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import ASC
let id = "id_example" // String | the id of the requested resource
let gameCenterLeaderboardImageUpdateRequest = GameCenterLeaderboardImageUpdateRequest(data: GameCenterLeaderboardImageUpdateRequest_data(type: "type_example", id: "id_example", attributes: AppEventScreenshotUpdateRequest_data_attributes(uploaded: false))) // GameCenterLeaderboardImageUpdateRequest | GameCenterLeaderboardImage representation
GameCenterLeaderboardImagesAPI.gameCenterLeaderboardImagesUpdateInstance(id: id, gameCenterLeaderboardImageUpdateRequest: gameCenterLeaderboardImageUpdateRequest) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
gameCenterLeaderboardImageUpdateRequest | GameCenterLeaderboardImageUpdateRequest | GameCenterLeaderboardImage representation |
GameCenterLeaderboardImageResponse
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]