Skip to content

III-5017: Allow uploading images via online Url in Json Body#473

Merged
JonasVHG merged 2 commits intomainfrom
III-5017-docs
Jan 27, 2026
Merged

III-5017: Allow uploading images via online Url in Json Body#473
JonasVHG merged 2 commits intomainfrom
III-5017-docs

Conversation

@JonasVHG
Copy link
Contributor

@JonasVHG JonasVHG commented Jan 6, 2026

Added

  • projects/uitdatabank/models/image-post.json: Add schema to upload images via a url

Changed

  • projects/uitdatabank/reference/entry.json: Add new method to upload images via a Json Body.

Related PR


Ticket: https://jira.publiq.be/browse/III-5017

@JonasVHG JonasVHG changed the title III-5017: add json III-5017: Allow uploading images via online Url in Json Body Jan 7, 2026
@JonasVHG JonasVHG marked this pull request as ready for review January 19, 2026 09:54
"$ref": "./common-string-uri-readOnly.json",
"description": "URL of the image file."
},
"description": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder why the description isn't a common object like the copyright holder and the language? Maybe because it also exists in a different context? But this is not so important, so I already approved.

@lucwollants
Copy link
Contributor

lucwollants commented Jan 23, 2026

I did a test here https://publiq.stoplight.io/docs/uitdatabank/branches/III-5017-docs/entry-api/reference/operations/create-a-image, and I don't see the contentURL

Screenshot 2026-01-23 at 10 12 26

Another small remark, should we make application/json the default item to show when accessing these docs for this endpoint? (Making it the first item of the dropdown, I assume)

@JonasVHG JonasVHG merged commit 5eff4a6 into main Jan 27, 2026
11 checks passed
@JonasVHG JonasVHG deleted the III-5017-docs branch January 27, 2026 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants