Commit 8d96f399 authored by Julien Schröter's avatar Julien Schröter Committed by Frederik Wegner

Replace uri with resource ID in oas

parent e22073ab
Pipeline #1647 passed with stages
in 43 minutes and 39 seconds
......@@ -357,10 +357,10 @@ paths:
get:
summary: Get resources such as images and files.
description: >-
Get resources such as images and files by their URI. URIs are provided by the API in several places, e.g. avatars, question images.
Get resources such as images and files by their Resource ID. Resource IDs are provided by the API in several places, e.g. avatars, question images.
This endpoint is a proxy to a hetzner storage box. See the hetzner storage box http API documentation for further information https://wiki.hetzner.de/index.php/Storage_Boxes/en.
parameters:
- name: uri
- name: resource_id
description: The ID of the resource
in: path
required: true
......@@ -1226,7 +1226,7 @@ components:
correct:
type: boolean
image:
description: URI to an image on the resource server.
description: Resource ID of an image on the resource server.
type: integer
format: uint32
text:
......@@ -1276,7 +1276,7 @@ components:
type: integer
format: uint32
image:
description: uri of the image resource. The actual image can be queried form /resource separately using this uri.
description: Resource ID of the image resource. The actual image can be queried form /resource separately using this Resource ID.
type: integer
format: uint32
level:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment