collections

Add item

Add an item to a collection

post/api/collections/{namespace}/{slug}/items

Path parameters

namespacestring required
slugstring required

Request body

notestring

Response

The updated collection

slugstring required
titlestring required
descriptionstring
lastUpdatedstring date-time required
positionnumber required
theme'orange' | 'blue' | 'green' | 'purple' | 'pink' | 'indigo' required
privateboolean required
upvotesnumber required
shareUrlstring required
isUpvotedByUserboolean required

Changes

Changed in 8 of the 82 revisions of this API.4716

    • ○

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

      response-optional-property-added

  • 74f2b0d1763612See the full diff
    • ▲

      the response property const value bucket was removed for the status

      response-property-const-removed

    • ●

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

      response-property-enum-value-added

    • ●

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

      response-property-enum-value-added

    • ○

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

      response-optional-property-added

    • ○

      added subschema #1 subschema #6 to the / response property anyOf list for the response status

      response-property-any-of-added

    • ○

      removed subschema #1 subschema #6 from the / response property anyOf list for the response status

      response-property-any-of-removed

    • ▲

      the / request property type changed from no type to string

      request-property-type-changed

    • ▲

      added subschema #1 subschema #2 to the response property oneOf list for the response status

      response-property-one-of-added

    • ▲

      the response's property type changed from no type to string for status

      response-property-type-changed

    • ○

      removed subschema #1 subschema #2 from the / response property allOf list for the response status

      response-property-all-of-removed

    • ○

      added subschema #1 subschema #2 to the response property anyOf list for the response status

      response-property-any-of-added

    • ○

      added subschema #1 subschema #2 subschema #3 subschema #4 subschema #5 subschema #6 to the / response property anyOf list for the response status

      response-property-any-of-added

    • ○

      removed subschema #1 subschema #2 from the response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed subschema #1 subschema #2 from the response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      the response's property pattern was changed from ^((\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\d|3[01])|(0[469]|11)-(0[1-9]|[12]\d|30)|(02)-(0[1-9]|1\d|2[0-8])))T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d+)?(Z)$ to ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$ for the status

      response-property-pattern-changed

  • 99cb1903813553See the full diff
    • ●

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

      response-property-enum-value-added

    • ●

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

      response-property-enum-value-added

    • ●

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

      response-property-enum-value-added

    • ●

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

      response-property-enum-value-added

    • ●

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

      response-property-enum-value-added

    • ○

      added subschema #2 subschema #3 subschema #5 to the // response property anyOf list for the response status

      response-property-any-of-added

    • ○

      removed subschema #1 subschema #2 from the /// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

      removed subschema #2 subschema #3 subschema #5 from the // response property anyOf list for the response status

      response-property-any-of-removed

    • ○

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

      response-required-property-added

    • ○

      added subschema #2 subschema #6 to the // response property anyOf list for the response status

      response-property-any-of-added

    • ○

      removed subschema #2 subschema #6 from the // response property anyOf list for the response status

      response-property-any-of-removed