Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device.Attributes.Status is missing case PROCESSING #284

Open
JJdeGroot opened this issue Aug 22, 2024 · 7 comments
Open

Device.Attributes.Status is missing case PROCESSING #284

JJdeGroot opened this issue Aug 22, 2024 · 7 comments

Comments

@JJdeGroot
Copy link

JJdeGroot commented Aug 22, 2024

The Device.Attributes.Status enum is missing the case PROCESSING

Error:
Error: dataCorrupted(Swift.DecodingError.Context(codingPath: [StringCodingKey(stringValue: "data", intValue: nil), StringCodingKey(stringValue: "attributes", intValue: nil), StringCodingKey(stringValue: "status", intValue: nil)], debugDescription: "Cannot initialize Status from invalid String value PROCESSING", underlyingError: nil)).

Response:

{
  "data" : {
    "type" : "devices",
    "id" : "XXX",
    "attributes" : {
      "addedDate" : "2024-08-22T14:48:45.638+00:00",
      "name" : "XXX",
      "deviceClass" : "IPAD",
      "model" : "XXX",
      "udid" : "XXX",
      "platform" : "XXX",
      "status" : "PROCESSING"
    },
    "links" : {
      "self" : "https://api.appstoreconnect.apple.com/v1/devices/XXX"
    }
  },
  "links" : {
    "self" : "https://api.appstoreconnect.apple.com/v1/devices"
  }
}
@JJdeGroot
Copy link
Author

It's not listed on https://developer.apple.com/documentation/appstoreconnectapi/list_devices and I guess it's also not in the OpenAPI specification...

@JJdeGroot
Copy link
Author

OpenAPI specification is also missing the value.

{
  "name" : "filter[status]",
  "in" : "query",
  "description" : "filter by attribute 'status'",
  "schema" : {
    "type" : "array",
    "items" : {
      "type" : "string",
      "enum" : [ "ENABLED", "DISABLED" ]
    }
  },

Filed a bug report at Apple: FB14889763

Copy link

This issue is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Sep 22, 2024
@JJdeGroot
Copy link
Author

Issue is not Stale

@github-actions github-actions bot removed the Stale label Sep 25, 2024
Copy link

This issue is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Oct 26, 2024
@JJdeGroot
Copy link
Author

Issue is not Stale

@github-actions github-actions bot removed the Stale label Oct 27, 2024
@AvdLee
Copy link
Owner

AvdLee commented Nov 26, 2024

Thanks for reporting this @JJdeGroot. Feel free to open a PR with the missing case!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants