Files

Report a stored file (upload host)

Changed on

The upload host's report that a file's bytes are stored and checked: the record goes live with the reported size and counts toward the world's total. For the upload host only: no API-Key; the credential is the header X-OW-Signature, the lowercase hex HMAC-SHA256 of the exact body bytes under the ticket secret, as POST /media/uploaded. A missing or wrong signature is a 401; an unknown tid a 404; the same report again a 204. Files on elements answer only where the server has them switched on; elsewhere every files route is a 404.

post/api/v2/files/uploaded

Request

  • Base URL: https://www.onlyworlds.com
  • URL: https://www.onlyworlds.com/api/v2/files/uploaded
  • Auth: none required

Request body

tidstring uuid required

The ticket's id: the upload ticket's for /files/uploaded, the removal ticket's for /files/removed.

bytesinteger required

The stored object's size.

keystring required

w/<world>/<element>/<file_id>.<ext>

Response

Recorded.

Changes

    • warning

      added the new known_of_not_writable enum value to the / response property for the response status

    • warning

      added the new known_of_not_writable enum value to the / response property for the response status

    • warning

      added the new known_of_not_writable enum value to the / response property for the response status

    • warning

      added the new known_of_not_writable enum value to the / response property for the response status

    • warning

      added the new known_of_not_writable enum value to the / response property for the response status

    • warning

      added the new known_of_not_writable enum value to the / response property for the response status

    • warning

      added the new character_taken enum value to the / response property for the response status

    • warning

      added the new character_taken enum value to the / response property for the response status

    • warning

      added the new character_taken enum value to the / response property for the response status

    • warning

      added the new character_taken enum value to the / response property for the response status

    • warning

      added the new character_taken enum value to the / response property for the response status

    • warning

      added the new character_taken enum value to the / response property for the response status

    • warning

      added the new world_full enum value to the / response property for the response status

    • warning

      added the new world_full enum value to the / response property for the response status

    • warning

      added the new world_full enum value to the / response property for the response status

    • warning

      added the new world_full enum value to the / response property for the response status

    • warning

      added the new world_full enum value to the / response property for the response status

    • warning

      added the new world_full enum value to the / response property for the response status