{
  "opencollection": "1.0.0",
  "info": {
    "name": "OCI Managed Services for Mac Mac Device API",
    "version": "20250320"
  },
  "items": [
    {
      "info": {
        "name": "macDevice",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Gets a list of MacDevices.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://127.0.0.1/20250320/macOrders/:macOrderId/macDevices",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "compartmentId",
                "value": "",
                "type": "query",
                "description": "The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources."
              },
              {
                "name": "macOrderId",
                "value": "",
                "type": "path",
                "description": "The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the MacOrder."
              },
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "The UUID of the MacDevice."
              },
              {
                "name": "serialNumber",
                "value": "",
                "type": "query",
                "description": "The serial number of the MacDevice."
              },
              {
                "name": "lifecycleState",
                "value": "",
                "type": "query",
                "description": "A filter to return only resources that match the given lifecycle state. The\nstate value is case-insensitive.\n"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "For list pagination. The maximum number of results per page, or items to return in a\npaginated \"List\" call. For important details about how pagination works, see\n[List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).\n"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "For list pagination. The value of the opc-next-page response header from the previous\n\"List\" call. For important details about how pagination works, see\n[List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).\n"
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query",
                "description": "The sort order to use, either ascending (`ASC`) or descending (`DESC`)."
              },
              {
                "name": "sortBy",
                "value": "",
                "type": "query",
                "description": "The field to sort by. You can provide only one sort order. Default order for `timeCreated` \nis descending. Default order for `SerialNumber` is ascending.\n"
              }
            ]
          },
          "docs": "Gets a list of MacDevices assigned to this order.\n"
        },
        {
          "info": {
            "name": "Get MacDevice",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://127.0.0.1/20250320/macOrders/:macOrderId/macDevices/:macDeviceId",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "macDeviceId",
                "value": "",
                "type": "path",
                "description": "The UUID of the MacDevice."
              },
              {
                "name": "macOrderId",
                "value": "",
                "type": "path",
                "description": "The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the MacOrder."
              }
            ]
          },
          "docs": "Gets information about a MacDevice."
        },
        {
          "info": {
            "name": "Terminates a MacDevice.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://127.0.0.1/20250320/macOrders/:macOrderId/macDevices/:macDeviceId/actions/terminate",
            "headers": [
              {
                "name": "if-match",
                "value": ""
              },
              {
                "name": "opc-request-id",
                "value": ""
              },
              {
                "name": "opc-retry-token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "macDeviceId",
                "value": "",
                "type": "path",
                "description": "The UUID of the MacDevice."
              },
              {
                "name": "macOrderId",
                "value": "",
                "type": "path",
                "description": "The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the MacOrder."
              }
            ]
          },
          "docs": "Terminates a MacDevice."
        }
      ]
    }
  ],
  "bundled": true
}