---
search:
  tags:
    - Services
    - POST
seo:
  description: >-
    Only the event's system key, which the Athena… Reference for the POST
    /api/admin/services/{id}/image/resolve endpoint in the Athena Attack/Defence
    Admin API.
sidebar:
  label: >-
    Resolve a service's image and checker image to digests with the registry
    credentials stored on the service; nothing is written
  badge: POST
title: >-
  Resolve a service's image and checker image to digests with the registry
  credentials stored on the service; nothing is written
type: openapi-operation
---
Only the event's system key, which the Athena organizer panel holds, may call this. An organizer API key is refused with 403; use the panel.

`POST /api/admin/services/{id}/image/resolve`

**Request body** (`application/json`, required)

- `image` (string, required)
- `checkerImage` (string, required)
- `expectedUpdatedAt` (string<date-time>, required)

Request body example:

```json
{
  "image": "string",
  "checkerImage": "string",
  "expectedUpdatedAt": "2019-08-24T14:15:22Z"
}
```

**Responses**

- `200` — Success
- `401` — Unauthorized
- `403` — Response for status 403
- `404` — Response for status 404
- `409` — Response for status 409
- `422` — Response for status 422
- `500` — Unhandled server error

Response example, 200:

```json
{
  "expectedUpdatedAt": "string",
  "image": "string",
  "imageDigest": "string",
  "checkerImage": "string",
  "checkerImageDigest": "string"
}
```
