version-files

Get versions from hashes

This is the same as /version_file/{hash} except it accepts multiple hashes.

post/version_files

Request body

hashesstring[] required
algorithm'sha1' | 'sha512' required

Example request

{
  "hashes": [
    "ea0f38408102e4d2efd53c2cc11b88b711996b48d8922f76ea6abf731219c5bd1efe39ddf9cce77c54d49a62ff10fb685c00d2e4c524ab99d20f6296677ab2c4",
    "925a5c4899affa4098d997dfa4a4cb52c636d539e94bc489d1fa034218cb96819a70eb8b01647a39316a59fcfe223c1a8c05ed2e2ae5f4c1e75fa48f6af1c960"
  ],
  "algorithm": "sha512"
}

Response

Expected response to a valid request

HashVersionMap required

A map from hashes to versions

Changes

Changed in 3 of the 21 revisions of this API.325

    • added the required property additionalProperties/allOf[subschema #2]/environment to the response with the 200 status

      response-required-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 0bffa67217e113See the full diff
    • the additionalProperties/allOf[subschema #2]/files/items/file_type response's property type/format changed from string/ to / for status 200

      response-property-type-changed

    • added FileTypeEnum subschema #2 to the additionalProperties/allOf[subschema #2]/files/items/file_type response property allOf list for the response status 200

      response-property-all-of-added

    • removed the optional-resource-pack enum value from the additionalProperties/allOf[subschema #2]/files/items/file_type response property for the response status 200

      response-property-enum-value-removed

    • removed the required-resource-pack enum value from the additionalProperties/allOf[subschema #2]/files/items/file_type response property for the response status 200

      response-property-enum-value-removed

  • 3f6661cf21f2221See the full diff
    • the response property additionalProperties/allOf[subschema #2]/files/items/file_type became nullable for the status 200

      response-property-became-nullable

    • the additionalProperties/allOf[subschema #2]/files/items/file_type response's property type/format changed from / to string/ for status 200

      response-property-type-changed

    • added the new optional-resource-pack enum value to the additionalProperties/allOf[subschema #2]/files/items/file_type response property for the response status 200

      response-property-enum-value-added

    • added the new required-resource-pack enum value to the additionalProperties/allOf[subschema #2]/files/items/file_type response property for the response status 200

      response-property-enum-value-added

    • removed FileTypeEnum subschema #2 from the additionalProperties/allOf[subschema #2]/files/items/file_type response property allOf list for the response status 200

      response-property-all-of-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog