---
updatedAt: 2026-05-28T11:25:13.000Z
agentTools:
  projectIndex: https://dev.edgeiq.io/llms.txt
---

# Get Software Update by ID

Get Software Update by ID

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "platform",
    "version": "1.0",
    "contact": {
      "name": "EdgeIQ",
      "url": "https://edgeiq.io"
    },
    "description": "EdgeIQ API"
  },
  "paths": {
    "/software_updates": {
      "post": {
        "tags": [
          "Software Updates"
        ],
        "description": "Creates a Software Update used to send outbound command data to one or more devices.",
        "summary": "Creates a Software Update",
        "operationId": "POST_software_updates",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "description": "",
                "properties": {
                  "name": {
                    "description": "The name of the software update",
                    "type": "string"
                  },
                  "company_id": {
                    "description": "Optional id of the destination company. If left blank, will default to the current user's `company_id`. If present, the user must have permission to view the company account, or a `401` error will be thrown.",
                    "type": "string"
                  },
                  "type": {
                    "description": "The type of software update",
                    "type": "string",
                    "enum": [
                      "bash_script",
                      "lwm2m_object_5",
                      "lwm2m_object_9"
                    ]
                  },
                  "device_type_id": {
                    "description": "The _id of the device type to associate the update with.",
                    "type": "string"
                  },
                  "files": {
                    "description": "The list of files associated with the update.",
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string",
                          "format": "uri"
                        }
                      }
                    }
                  },
                  "script": {
                    "description": "The script used to run the update.",
                    "type": "string"
                  },
                  "reboot": {
                    "type": "boolean",
                    "description": "A flag to trigger a reboot of the system after the update is applied.",
                    "default": false
                  }
                },
                "required": [
                  "name",
                  "type",
                  "device_type_id"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/paths/~1files/post/responses/200"
          },
          "401": {
            "$ref": "#/paths/~1me/get/responses/401"
          },
          "404": {
            "$ref": "#/paths/~1me/get/responses/404"
          },
          "500": {
            "$ref": "#/paths/~1me/get/responses/500"
          }
        }
      }
    },
    "/software_updates/{id}": {
      "get": {
        "tags": [
          "Software Updates"
        ],
        "summary": "Get Software Update by ID",
        "description": "Get Software Update by ID",
        "operationId": "GET_software_updates_by_id",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The ID that specifies a Software Update",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1software_updates/post/requestBody/content/application~1json/schema"
                }
              }
            }
          },
          "401": {
            "$ref": "#/paths/~1me/get/responses/401"
          },
          "404": {
            "$ref": "#/paths/~1me/get/responses/404"
          },
          "500": {
            "$ref": "#/paths/~1me/get/responses/500"
          }
        }
      }
    },
    "/me": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Returns current user",
        "description": "Returns current user",
        "operationId": "GET_users_bulk",
        "responses": {
          "200": {
            "description": "Successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "title": "User",
                  "type": "object",
                  "properties": {
                    "_id": {
                      "description": "The unique identifier of the user. Assigned at creation, uneditable.",
                      "type": "string"
                    },
                    "first_name": {
                      "description": "The first name of the user.",
                      "type": "string"
                    },
                    "last_name": {
                      "description": "The last name of the user.",
                      "type": "string"
                    },
                    "email": {
                      "description": "The email or non-email username of the user. Must be unique.",
                      "type": "string"
                    },
                    "password": {
                      "description": "Used for authentication. Must be at least 8 characters. Required on creation.",
                      "type": "string"
                    },
                    "password_confirmation": {
                      "description": "Required on creation and only on creation. Must match `password`.",
                      "type": "string"
                    },
                    "authentication_token": {
                      "description": "API access token",
                      "type": "string"
                    },
                    "phone_number": {
                      "description": "The user's phone number.",
                      "type": "string"
                    },
                    "company_id": {
                      "description": "The id of the company the user belongs to directly.",
                      "type": "string"
                    },
                    "user_type_id": {
                      "description": "ID of user's type",
                      "type": "string"
                    },
                    "company_ids": {
                      "description": "A list of company ids which are accounts of the user's company. The user is allowed to view and interact with these companies. Allows management of which sub-accounts users are able to access.",
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "metadata": {
                      "description": "This field is a way to store an untyped, key-value, user defined data on a user per user basis",
                      "type": "object"
                    },
                    "locale": {
                      "description": "The user's UI language, as a BCP 47 tag. Absent means no preference, which the web app shows as English. Set only through `PUT /me/locale`; `POST /users` and `PUT /users/{id}` ignore it.",
                      "type": "string",
                      "enum": [
                        "en",
                        "fr-CA",
                        "es-419"
                      ],
                      "readOnly": true
                    }
                  },
                  "required": [
                    "first_name",
                    "email",
                    "password"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "You are not authorized"
          },
          "404": {
            "description": "The item you were looking for does not exist"
          },
          "500": {
            "description": "An unexpected error was encountered."
          }
        }
      }
    }
  },
  "security": [
    {
      "BasicAuth": []
    }
  ],
  "tags": [
    {
      "name": "Software Updates"
    },
    {
      "name": "Users"
    }
  ],
  "servers": [
    {
      "url": "https://api.edgeiq.io/api/v1/platform"
    }
  ],
  "components": {
    "securitySchemes": {
      "BasicAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": ""
      }
    }
  },
  "x-explorer-enabled": true,
  "x-proxy-enabled": true,
  "x-samples-enabled": true,
  "x-samples-languages": [
    "curl",
    "node",
    "ruby",
    "javascript",
    "python"
  ],
  "x-headers": [
    {
      "key": "accept",
      "value": "application/json"
    }
  ]
}
```