Public
Documentation Settings

copy2cloud

status

GETping

https://api.copy2cloud.com/v1/ping

GETdefault

https://api.copy2cloud.com/v1

contents

POSTcreate

https://api.copy2cloud.com/v1/contents
Bodyraw (json)
json
{
    "key":"test_key_3",
    "secret":"123456",
    "content": "test content with random key and random secret",
    "acl": {
        "allow": [
            "2001:0db8:85a3:08d3:1319:8a2e:0370:7334",
            "127.0.0.1"
        ],
        "deny": [
            "0.0.0.0"
        ]
    },
    "expire_time": null,
    "destroy_count": 10
}

GETread

https://api.copy2cloud.com/v1/contents/:key?secret=123456
PARAMS
secret

123456

PATH VARIABLES
key

test_key_3

PUTupdate

https://api.copy2cloud.com/v1/contents/:key?secret=123456
PARAMS
secret

123456

PATH VARIABLES
key

test_key

Bodyraw (json)
json
{
    "content": "test content updated",
    "acl": {
        "allow": [
            "2001:0db8:85a3:08d3:1319:8a2e:0370:7334"
        ],
        "deny": [
            "127.0.0.2"
        ]
    },
    "expire_time": 1644698588,
    "secret": "123456",
    "destroy_count": 10,
    "key": "adem"
}
Loading