# Pictures of a provider

## Get provider pictures

<mark style="color:blue;">`GET`</mark> `https://api.aviowiki.com/providers/{aid}/pictures/all`

#### Path Parameters

| Name                                  | Type   | Description                 |
| ------------------------------------- | ------ | --------------------------- |
| aid<mark style="color:red;">\*</mark> | String | Aviowiki ID of the provider |

#### Headers

| Name          | Type   | Description                              |
| ------------- | ------ | ---------------------------------------- |
| Authorization | String | An API Token using Bearer authorization. |

{% tabs %}
{% tab title="200: OK Provider details" %}
The detailed properties of the returned object can be found in the documentation of the [Provider](https://docs.aviowiki.com/data-models/provider) data model.

```json
[
  {
    "path": "filereferences/1033_a5c16faf270c4859a80a57e391504f2f.jpeg",
    "name": "Geneva FBO updated image web.jpg",
    "description": null,
    "size": 232891,
    "aid": "FIL-Q7O5-H0VP"
  }
]
```

{% endtab %}

{% tab title="400: Bad Request" %}
Occurs when an invalid request is made.

```
{
  "error": "Invalid request",
  "timestamp": "2025-02-27T11:18:21.299Z",
  "status": 400,
  "message": "Bad request",
  "path": "/providers/PRV-Y1K4-7Y6W/pictures/all"
}
```

{% endtab %}

{% tab title="Default Deserialization Exception" %}
Occurs if the response cannot be processed.

```
{
  "error": "string",
  "timestamp": "2025-02-27T11:18:21.299Z",
  "status": 0,
  "message": "string",
  "path": "string"
}
```

{% endtab %}
{% endtabs %}

#### Accessing the Image

To display or download the image, prepend the following base URL to the `path` field:

```
https://files.aviowiki.com/
```

**Example:**

If the API returns:

```json
  "path": "filereferences/1033_a5c16faf270c4859a80a57e391504f2f.jpeg",
  "name": "Geneva FBO updated image web.jpg"
}
```

Then the full image URL is:

```
https://files.aviowiki.com/filereferences/1033_a5c16faf270c4859a80a57e391504f2f.jpeg
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.aviowiki.com/authenticated-endpoints/provider-endpoints/pictures-of-a-provider.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
