Skip to content

List duplicate pages

GET
/v1/workspaces/{workspaceId}/assets/duplicates
curl --request GET \
--url https://shareout.site/v1/workspaces/example/assets/duplicates \
--header 'Authorization: Bearer <token>'

Owners/admins, read-only. Groups the workspace’s live pages whose source file is byte-identical (sha256): the original an import keeps, else the page’s own file (markdown, csv, pdf, image…). Names are never compared; hand-written HTML pages are never grouped; a private page appears only to its owner. Oldest page first.

workspaceId
required
string

Workspace ID or slug.

Groups of two or more pages

Media typeapplication/json
object
groups
Array<object>
object
sha256
string
sizeBytes
integer
pages
Array<object>
object
id
string
name
string
slug
string | null
ownerId
string | null
folderId
string | null
createdAt
string

Example generated

{
"groups": [
{
"sha256": "example",
"sizeBytes": 1,
"pages": [
{
"id": "example",
"name": "example",
"slug": "example",
"ownerId": "example",
"folderId": "example",
"createdAt": "example"
}
]
}
]
}

Access denied

Media typeapplication/json
object
success
required
boolean
error
required

Human-readable message.

string
code
required

Machine-readable error code.

string
request_id

Correlation id (also the X-Request-Id header). Quote it in support tickets.

string
reason

Finer cause under code. For UNAUTHORIZED: missing, invalid, revoked or expired.

string
hint

What to do next, in plain words.

string
suggestion
string
param

The request field at fault.

string
docs

Doc page for this error.

string
redirect_url
string
support

Present on 5xx — how to reach a human.

object
how
string
include
Array<string>

Example

{
"success": false,
"support": {
"how": "POST /v1/support/tickets",
"include": [
"request_id"
]
}
}