---
title: "Validates weather an oc_service.sh file exists or not"
method: GET
path: "/assistant/oc/restart/file/exists"
tags: ["Update Assistant"]
---

# Validates weather an oc_service.sh file exists or not

`GET /assistant/oc/restart/file/exists`

## Response `200`

Returns response from Service Portal in json format

- ErrorResource
  - `timestamp` string, date-time
  - `status` integer
  - `error` string
  - `message` string
  - `path` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Error
- `502` — Bad Gateway

---

[API](https://skmtc.net/opencelium/apis/opencelium-api.md) · [All operations](https://skmtc.net/opencelium/apis/opencelium-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opencelium/opencelium-api/revisions/82ed767ffb65/schema)
