Skip to content

OS-image list paging #124

@smirnov-mi

Description

@smirnov-mi

Hi @JonasProgrammer
I wasn’t able to set the OS to ubuntu-24.04 in the node driver, and did a little research. It looks like the driver listening of the images should be updated as following:

Our API implements pagination as mentioned in our docs at: https://docs.hetzner.cloud/#pagination

You can see the full list of images by specifying either the page or the number of results.
For example:
curl -H "Authorization: Bearer $HCLOUD_TOKEN" "https://api.hetzner.cloud/v1/images?per_page=50"

that’s what hetzner support replied to my question.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions