Site Lists

Upload New Site Lists

Upload new site lists

post/site_lists/upload

Request

Request body multipart/form-data

filestring binary required

The file to be uploaded (e.g., comma_sep.txt).

organization_idstring required

The ID of the organization. Its a string because form upload

namestring required

The name of the site list being uploaded.

restriction'INCLUDE' | 'EXCLUDE'
status'true' | 'false' | '0' | '1'

Example request

{
  "name": "Test List"
}

Response

Site list response

Example response

{
  "data": {
    "id": 126,
    "version": 2,
    "organization_id": 16,
    "filename": "test_site_list.csv",
    "sites_count": 100,
    "sites_count_domain": 1,
    "sites_count_app": 2,
    "sites_count_primary_seller_id": 3
  },
  "meta": {
    "status": "success"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.