Do not miss any Lasso Moderation API changes, ever again

Subscribe to the Lasso Moderation API changelog to be up to date on recent changes.

RSS

about 2 hours ago

main
1.0
Compare

API structure has changed

Next change
22 structure changes including:
22 Modifications
Modified 22 Breaking
DELETE /lists/{listId}
  • Response
  • 400, 401, 404, 429 responses Added
GET /lists
  • Response
  • 200 response Modified
    • application/json content type Modified
      • lists property Modified
        • id, createdAt, name, type properties Modified
          • Properties are now required
            Breaking
  • 401, 429 responses Added
GET /lists/{listId}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • list property Modified
        • * property Removed
          • Removing a resource is always breaking unless it was deprecated before
            Breaking
        • id, createdAt, name, type, items properties Added
  • 401, 404, 429 responses Added
GET /status/{contentId}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • status property Modified
        • Property is no longer required
        • Type went from string to string | null
      • actions property Modified
        • status, previous_status properties Modified
          • Type went from string to string | null
  • 401, 404, 429 responses Added
GET /user-reports
  • Response
  • 200 response Modified
    • application/json content type Modified
      • policies property Modified
        • translations property Modified
  • 401, 429 responses Added
GET /user/{userId}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • user property Modified
        • status property Modified
          • Property is no longer required
          • Type went from string to string | null
        • type property Modified
          • Property is no longer required
        • signup_method, ip_address, metadata, tags, published_at properties Added
  • 401, 404, 429 responses Added
POST /content
  • Body
  • application/json content type Modified
    • subcategory property Modified
      • metadata property Modified
        • Type went from object to object | null
      • status property Added
    • user property Modified
      • metadata property Modified
        • Type went from object to object | null
      • type property Modified
        • Type is now string
      • status property Modified
        • Type went from string to string | null
      • published_at property Modified
        • Type went from string to string(date-time) | null
    • metadata property Modified
      • Type went from object to object | null
    • published_at property Modified
      • Type went from string to string(date-time) | null
    • pdf_urls, status properties Added
  • Response
  • 200 response Modified
    • application/json content type Modified
      • success property Modified
        • Property is now required
          Breaking
  • 400, 401, 429 responses Added
POST /content/sync
  • Body
  • application/json content type Modified
    • subcategory property Modified
      • metadata property Modified
        • Type went from object to object | null
      • status property Added
    • user property Modified
      • metadata property Modified
        • Type went from object to object | null
      • type property Modified
        • Type is now string
      • status property Modified
        • Type went from string to string | null
      • published_at property Modified
        • Type went from string to string(date-time) | null
    • metadata property Modified
      • Type went from object to object | null
    • published_at property Modified
      • Type went from string to string(date-time) | null
    • pdf_urls, status properties Added
  • Response
  • 200 response Modified
    • application/json content type Modified
      • actions property Modified
        • status, previous_status properties Modified
          • Type went from string to string | null
  • 400, 401, 429 responses Added
POST /import/content
  • Body
  • application/json content type Modified
    • contents property Modified
      • Property is now required
        Breaking
      • subcategory property Modified
        • metadata property Modified
          • Type went from object to object | null
        • status property Added
      • user property Modified
        • metadata property Modified
          • Type went from object to object | null
        • type property Modified
          • Type is now string
        • status property Modified
          • Type went from string to string | null
        • published_at property Modified
          • Type went from string to string(date-time) | null
      • metadata property Modified
        • Type went from object to object | null
      • status property Modified
        • Type went from string to string | null
      • pdf_urls, published_at properties Added
  • Response
  • 200 response Modified
    • application/json content type Modified
      • success property Modified
        • Property is now required
          Breaking
  • 400, 401, 429 responses Added
POST /import/users
  • Body
  • application/json content type Modified
    • users property Modified
      • metadata property Modified
        • Type went from object to object | null
      • type property Modified
        • Type is now string
      • status property Modified
        • Type went from string to string | null
      • published_at property Modified
        • Type went from string to string(date-time) | null
  • Response
  • 200 response Modified
    • application/json content type Modified
      • success property Modified
        • Property is now required
          Breaking
  • 400, 401, 429 responses Added
POST /lists
  • Response
  • 400, 401, 429 responses Added
POST /lists/{listId}
  • Response
  • 400, 401, 404, 429 responses Added
POST /user
  • Body
  • application/json content type Modified
    • user property Modified
      • metadata property Modified
        • Type went from object to object | null
      • type property Modified
        • Type is now string
      • status property Modified
        • Type went from string to string | null
      • published_at property Modified
        • Type went from string to string(date-time) | null
  • Response
  • 200 response Modified
    • application/json content type Modified
      • success property Modified
        • Property is now required
          Breaking
  • 400, 401, 429 responses Added
POST /user-reports
  • Body
  • application/json content type Modified
    • report property Modified
      • reported_by property Modified
        • name property Modified
          • Property is no longer required
        • metadata property Modified
          • Type went from object to object | null
        • email_domain, phone_number, profile_image_url properties Added
      • reported_by_entity property Added
  • Response
  • 200 response Modified
    • application/json content type Modified
      • success property Modified
        • Property is now required
          Breaking
  • 400, 401, 404, 429 responses Added
POST /user/delete
  • Response
  • 200 response Modified
    • application/json content type Modified
      • success property Modified
        • Property is now required
          Breaking
  • 400, 401, 404, 409, 429 responses Added
POST /user/delete-batch
  • Response
  • 200 response Modified
    • application/json content type Modified
      • success property Modified
        • Property is now required
          Breaking
      • queued property Added
  • 400, 401, 409, 429 responses Added
PUT /category
  • Response
  • 200 response Modified
    • application/json content type Modified
      • success property Modified
        • Property is now required
          Breaking
  • 400, 401, 429 responses Added
PUT /content/metadata
  • Body
  • application/json content type Modified
    • metadata property Modified
      • Type went from object to object | null
  • Response
  • 200 response Modified
    • application/json content type Modified
      • metadata property Modified
        • Type went from object to object | null
  • 4XX response Removed
    • Removing a resource is always breaking unless it was deprecated before
      Breaking
  • 400, 401, 404, 429 responses Added
PUT /content/publish
  • Response
  • 200 response Modified
    • application/json content type Modified
      • success property Modified
        • Property is now required
          Breaking
  • 4XX response Removed
    • Removing a resource is always breaking unless it was deprecated before
      Breaking
  • 400, 401, 404, 429 responses Added
PUT /status
  • Body
  • application/json content type Modified
    • status property Modified
      • Type went from string to string | null
    • temporary property Modified
      • ban_duration_period property Modified
        • Type is now string
  • Response
  • 200 response Modified
    • application/json content type Modified
      • success property Modified
        • Property is now required
          Breaking
  • 400, 401, 429 responses Added
PUT /subcategory
  • Body
  • application/json content type Modified
    • subcategory property Modified
      • metadata property Modified
        • Type went from object to object | null
      • status property Added
  • Response
  • 200 response Modified
    • application/json content type Modified
      • success property Modified
        • Property is now required
          Breaking
  • 400, 401, 429 responses Added
PUT /user/publish
  • Response
  • 200 response Modified
    • application/json content type Modified
      • success property Modified
        • Property is now required
          Breaking
  • 4XX response Removed
    • Removing a resource is always breaking unless it was deprecated before
      Breaking
  • 400, 401, 429 responses Added