Open
Conversation
Signed-off-by: Codex <codex@openai.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
GetOrgDevices, which made it hard to exercise and validate the rest of the ABM client surface.Description
-endpointdriven CLI with constants for each supported endpoint and arunEndpointdispatcher that covers all client methods (org devices, single device, AppleCare coverage, MDM servers, MDM-server device linkages, assigned-server linkage/details, create activity, get activity, and paginated part-number fetch).-org-device-id,-mdm-server-id,-org-device-activity-id,-fields,-limit,-activity-type,-activity-device-ids) and an optional-api-base-urloverride, plus usage text that documents supported endpoint values.create-org-device-activity(relationships payload builder) and a shared CSV parsing helper (splitCommaList), and kept all endpoint outputs as formatted JSON..agent/PLANS.mddescribing the work performed and updated the example to usegolang.org/x/oauth2TokenSourcewhen creating the client.Testing
gofmt -s -w examples/main.gosuccessfully.go test ./...and all tests passed.gopls versionin this environment butgoplsis not available here..agent/PLANS.mdto track the implementation steps; commit was made with--signoffbecause a GPG signing key was not available in the environment.Codex Task