The source's runs with their report (most recent first)
GET
/v1/migration-sources/{source}/runs
const url = 'https://api.replifier.com/v1/migration-sources/mgs_01hx0000000000000000000000/runs';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.replifier.com/v1/migration-sources/mgs_01hx0000000000000000000000/runsParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”source
required
string
Example
mgs_01hx0000000000000000000000Responses
Section titled “Responses”Runs
Media typeapplication/json
object
data
required
Array<object>
A migration run and its report: per entity (lists, fields, subscribers, suppressions, blocked_domains, templates, campaigns, links, rules, segments) what was migrated and what was skipped with its reason, the reconciliation against what the source declares, and the warnings (warnings, e.g. segments that ended up as a static tag). Per-contact detail is in the imports listed in importJobIds (M4.2).
object
id
required
string
sourceId
required
string
kind
required
string
status
required
string
complete
required
boolean
declared
required
object
key
additional properties
number
counts
required
object
key
additional properties
object
migrated
required
number
skipped
required
object
key
additional properties
number
pending
number
warnings
object
key
additional properties
number
reconciliation
required
object
key
additional properties
object
declared
required
number
migrated
required
number
skipped
required
number
difference
required
number
matches
required
boolean
chunks
required
object
expected
required
Array<number>
received
required
Array<number>
importJobIds
required
Array<string>
warnings
required
Array<object>
Report warning (something migrated that is worth reviewing), with its text in the requester’s language.
object
entity
required
string
code
required
string
count
required
integer
message
required
string
startedAt
required
string
finishedAt
required
string
Example
{ "data": [ { "kind": "sendy", "status": "running", "warnings": [ { "entity": "lists", "code": "segment_static_tag" } ] } ]}Invalid data
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}No session, expired session, or invalid, expired or revoked API key
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Does not exist or is not visible to you
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}Internal error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string
Example
{ "error": { "code": "not_found" }}