Styles/Documents

Creates a style document referencing an already-uploaded file. Does not trigger any extraction or processing.

post/api/styles/{id}/style-documents

Request

  • Base URL
    https://api.retraced.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.retraced.com/api/styles/{id}/style-documents
  • Auth
    none declared

Path parameters

idstring required

Request body

namestring
documentTypeIdstring required
documentClassstring nullable
fileIdstring required

Response

Default Response

Changes

    • info

      added the required property // to the response with the status

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      the request property's minLength was increased from 0 to 1

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • warning

      the request property's maxLength was set to 255

    • info

      the request property became nullable

    • info

      response property data/createdAt list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/documentClass list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/documentType/impactAreaId list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/fileUrl list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/updatedAt list-of-types was narrowed by removing types null from media type application/json of response 200