Target Collection

Get Target Collection

GET http://localhost/api_v1/targets/

This endpoint allows you to get all targets

[
    {
        "name": "osf",
        "readable_name": "OSF",
        "supported_actions": {
            "resource_collection": true,
            "resource_detail": true,
            "resource_download": true,
            "resource_upload": true
        },
        "supported_hash_algorithms": [
            "sha256",
            "md5"
        ],
        "detail": "http://localhost/api_v1/target/osf/"
    },
    {
        "name": "curate_nd",
        "readable_name": "CurateND",
        "supported_actions": {
            "resource_collection": true,
            "resource_detail": true,
            "resource_download": false,
            "resource_upload": false
        },
        "supported_hash_algorithms": [
            "md5"
        ],
        "detail": "http://localhost/api_v1/target/curate_nd/"
    },
    ...
]

Last updated