Medipim FR - API V4

Developer documentation

POST /v4/media/stream

(Last updated: 21/06/2024)

This endpoint works the same as POST /v4/media/query except there is no pagination.
All results are returned immediately.

Request

Method

POST

URL

https://api.medipim.fr/v4/media/stream

Headers

Body

Response

Body

Each line of the response contains a single result. The response should be read line by line, and each line JSON decoded separately. Each line ends with a newline character (\n).

Each succesful result is formatted like this:

{"meta": {"total": 2, "index": 0}, "result": {"id": 1, ...}}
{"meta": {"total": 2, "index": 1}, "result": {"id": 2, ...}}
  • meta:
    • total: Total number of results. (integer)
    • index: Index of this result in the entire resultset. (integer)
  • result:

If no results are found matching the filter, the response will have status 204 (= no content).