nooks
GitHubInstall
Lists and items

Duplicate list

DuplicateList copies a List and the Items still open on it. The copy starts private and starts empty of history: it is a new List that happens to begin with the same things on it, not a second view of the first.

POST
/api/v1/lists/{listUid}:duplicate

Path Parameters

listUid*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/lists/string:duplicate" \  -H "Content-Type: application/json" \  -d '{}'
{  "list": {    "uid": "string",    "name": "string",    "sharing": "SHARING_UNSPECIFIED",    "canEdit": true,    "isOwner": true,    "isPinned": true,    "openCount": 0,    "doneCount": 0,    "createdAt": "string",    "updatedAt": "string",    "archivedAt": "string",    "archivedByName": "string"  }}