{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "https:\/\/wipeos.unixsurplus.com"
        }
    ],
    "info": {
        "name": "Wipe OS API Documentation",
        "_postman_id": "c96e1c5f-0d2e-4eae-b65f-0c8ac72f1e21",
        "description": "This endpoint is used to create, read, update, and delete records related to operating system wipe events. \n    It does not perform any actual wipe operation. Instead, it serves as a logging and tracking mechanism to store details such \n    as the device identifier, wipe timestamp, wipe method, operator, and status of the wipe.",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "Endpoints",
            "description": "",
            "item": [
                {
                    "name": "Save diagnostic data (machine, mobile, or disk).",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/diagnostic",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/diagnostic"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"data_type\":\"machine\"}"
                        },
                        "description": "Accepts diagnostic data and determines how to process it based on the `data_type` key.\nSupported types: `machine`, `mobile`, `disk`. If an unknown type is provided,\nthe raw data will be saved unprocessed.",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"message\": \"Diagnostic saved successfully.\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 500,
                            "body": "{\n  \"message\": \"Diagnostic save unsuccessful.\"\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/get",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/get",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/get"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 200,
                            "body": "{\"pagination\":{\"current_page\":1,\"data\":[{\"id\":\"kRfO\",\"data_type\":\"machine\",\"purchase_order\":null,\"location\":\"659\",\"serial\":\"FN7RVP2\",\"model\":\"Latitude 7480\",\"tech\":null,\"notes\":null,\"result\":\"PASS\",\"created_at\":\"12\\\/04\\\/2025 9:31 PM\"}],\"first_page_url\":\"https:\\\/\\\/wipeos.unixsurplus.com\\\/api\\\/get?page=1\",\"from\":1,\"last_page\":1,\"last_page_url\":\"https:\\\/\\\/wipeos.unixsurplus.com\\\/api\\\/get?page=1\",\"links\":[{\"url\":null,\"label\":\"&laquo; Previous\",\"page\":null,\"active\":false},{\"url\":\"https:\\\/\\\/wipeos.unixsurplus.com\\\/api\\\/get?page=1\",\"label\":\"1\",\"page\":1,\"active\":true},{\"url\":null,\"label\":\"Next &raquo;\",\"page\":null,\"active\":false}],\"next_page_url\":null,\"path\":\"https:\\\/\\\/wipeos.unixsurplus.com\\\/api\\\/get\",\"per_page\":10,\"prev_page_url\":null,\"to\":1,\"total\":1},\"machineTotal\":1,\"diskTotal\":0,\"passTotal\":1,\"failTotal\":0,\"noResult\":0}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/disk-logs",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/disk-logs",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/disk-logs"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 200,
                            "body": "{\"pagination\":{\"current_page\":1,\"data\":[],\"first_page_url\":\"https:\\\/\\\/wipeos.unixsurplus.com\\\/api\\\/disk-logs?page=1\",\"from\":null,\"last_page\":1,\"last_page_url\":\"https:\\\/\\\/wipeos.unixsurplus.com\\\/api\\\/disk-logs?page=1\",\"links\":[{\"url\":null,\"label\":\"&laquo; Previous\",\"page\":null,\"active\":false},{\"url\":\"https:\\\/\\\/wipeos.unixsurplus.com\\\/api\\\/disk-logs?page=1\",\"label\":\"1\",\"page\":1,\"active\":true},{\"url\":null,\"label\":\"Next &raquo;\",\"page\":null,\"active\":false}],\"next_page_url\":null,\"path\":\"https:\\\/\\\/wipeos.unixsurplus.com\\\/api\\\/disk-logs\",\"per_page\":10,\"prev_page_url\":null,\"to\":null,\"total\":0},\"diskTotal\":0,\"passTotal\":0,\"failTotal\":0,\"noResult\":0}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/{key}\/find\/{id}",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/:key\/find\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/:key\/find\/:id",
                            "variable": [
                                {
                                    "id": "key",
                                    "key": "key",
                                    "value": "architecto",
                                    "description": ""
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the find."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unathorized Access.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/{key}\/{id}\/components",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/:key\/:id\/components",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/:key\/:id\/components",
                            "variable": [
                                {
                                    "id": "key",
                                    "key": "key",
                                    "value": "architecto",
                                    "description": ""
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the {key}."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unathorized Access.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/{key}\/{id}\/{component}\/detail",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/:key\/:id\/:component\/detail",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/:key\/:id\/:component\/detail",
                            "variable": [
                                {
                                    "id": "key",
                                    "key": "key",
                                    "value": "architecto",
                                    "description": ""
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the {key}."
                                },
                                {
                                    "id": "component",
                                    "key": "component",
                                    "value": "architecto",
                                    "description": ""
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unathorized Access.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/{key}\/{id}\/{component}\/print",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/:key\/:id\/:component\/print",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/:key\/:id\/:component\/print",
                            "variable": [
                                {
                                    "id": "key",
                                    "key": "key",
                                    "value": "architecto",
                                    "description": ""
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the {key}."
                                },
                                {
                                    "id": "component",
                                    "key": "component",
                                    "value": "architecto",
                                    "description": ""
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": []
                },
                {
                    "name": "POST api\/{key}\/{id}\/purchase_order",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/:key\/:id\/purchase_order",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/:key\/:id\/purchase_order",
                            "variable": [
                                {
                                    "id": "key",
                                    "key": "key",
                                    "value": "architecto",
                                    "description": ""
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the {key}."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": []
                },
                {
                    "name": "POST api\/{key}\/{id}\/tech",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/:key\/:id\/tech",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/:key\/:id\/tech",
                            "variable": [
                                {
                                    "id": "key",
                                    "key": "key",
                                    "value": "architecto",
                                    "description": ""
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the {key}."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": []
                },
                {
                    "name": "POST api\/{key}\/{id}\/print",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/:key\/:id\/print",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/:key\/:id\/print",
                            "variable": [
                                {
                                    "id": "key",
                                    "key": "key",
                                    "value": "architecto",
                                    "description": ""
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the {key}."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": []
                },
                {
                    "name": "POST api\/{key}\/{id}\/notes",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/:key\/:id\/notes",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/:key\/:id\/notes",
                            "variable": [
                                {
                                    "id": "key",
                                    "key": "key",
                                    "value": "architecto",
                                    "description": ""
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the {key}."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": []
                },
                {
                    "name": "POST api\/{key}\/generate-pdf\/{id}",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/:key\/generate-pdf\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/:key\/generate-pdf\/:id",
                            "variable": [
                                {
                                    "id": "key",
                                    "key": "key",
                                    "value": "architecto",
                                    "description": ""
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the generate pdf."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": []
                },
                {
                    "name": "GET api\/purchase-orders",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/purchase-orders",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/purchase-orders"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 200,
                            "body": "[]",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/{key}\/certificates",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/:key\/certificates",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/:key\/certificates",
                            "variable": [
                                {
                                    "id": "key",
                                    "key": "key",
                                    "value": "architecto",
                                    "description": ""
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unathorized Access.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "POST api\/{key}\/erase-status",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/:key\/erase-status",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/:key\/erase-status",
                            "variable": [
                                {
                                    "id": "key",
                                    "key": "key",
                                    "value": "architecto",
                                    "description": ""
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": []
                },
                {
                    "name": "GET api\/test",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/test",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/test"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 200,
                            "body": "[{\"id\":\"kRfO\",\"data_type\":\"machine\",\"purchase_order\":null,\"location\":\"659\",\"serial\":\"FN7RVP2\",\"model\":\"Latitude 7480\",\"tech\":null,\"notes\":null,\"result\":\"PASS\",\"created_at\":\"12\\\/04\\\/2025 9:31 PM\"}]",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/test\/get",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/test\/get",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/test\/get"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 500,
                            "body": "{\n    \"message\": \"Server Error\"\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "GET api\/store\/{key}\/check",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/store\/:key\/check",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/store\/:key\/check",
                            "variable": [
                                {
                                    "id": "key",
                                    "key": "key",
                                    "value": "16",
                                    "description": ""
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 200,
                            "body": "{\"exists\":false}",
                            "name": ""
                        }
                    ]
                }
            ]
        }
    ],
    "auth": {
        "type": "noauth"
    }
}