Attachments

Create an attachment key

Create an attachment key. Allows attachments to be uploaded separately from the related content.

post/attachments/new-key

Response

OK

keystring

The attachment key created. This should be used to upload additional files or to associate uploaded attachments with other content.

Changes

Changed in 2 of the 7 revisions of this API.4412

  • e271d0e41f6d36See the full diff
    • request body became required

      request-body-became-required

    • removed the media type application/json from the request body

      request-body-media-type-removed

    • removed the media type application/x-www-form-urlencoded from the request body

      request-body-media-type-removed

    • api operation id post_attachments_new_key removed and replaced with postAttachmentsNewKey

      api-operation-id-removed

    • the endpoint scheme security XF-Api-Key was added to the API

      api-security-added

    • the endpoint scheme security XF-OAuth2 was added to the API

      api-security-added

    • added the new optional header request parameter XF-Api-User to all path's operations

      new-optional-request-default-parameter-to-existing-path

    • added the new optional query request parameter api_bypass_permissions to all path's operations

      new-optional-request-default-parameter-to-existing-path

    • added the media type multipart/form-data to the request body

      request-body-media-type-added

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

  • fc0a40f3b859146See the full diff
    • removed the media type multipart/form-data from the request body

      request-body-media-type-removed

    • the optional response header XF-Latest-Api-Version removed for the status 200

      optional-response-header-removed

    • the optional response header XF-Request-User removed for the status 200

      optional-response-header-removed

    • the optional response header XF-Request-User-Extras removed for the status 200

      optional-response-header-removed

    • the optional response header XF-Used-Api-Version removed for the status 200

      optional-response-header-removed

    • api operation id postAttachmentsNewKey removed and replaced with post_attachments_new_key

      api-operation-id-removed

    • the endpoint scheme security XF-Api-Key was removed from the API

      api-security-removed

    • the endpoint scheme security XF-OAuth2 was removed from the API

      api-security-removed

    • request body became optional

      request-body-became-optional

    • added the media type application/json to the request body

      request-body-media-type-added

    • added the media type application/x-www-form-urlencoded to the request body

      request-body-media-type-added

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