Creates a new shared link

POST {{baseUrl}}/shared-links

Creates a new shared link

Request Body

{"item_id"=>"0f1e41dc-f9a0-40da-86c1-1a22db11856f", "expiration_time"=>"2022-11-28T00:42:07.544Z", "link_uri"=>"/app/generated/public/uri", "public"=>true, "properties"=>{"name"=>"John Smith", "address"=>[{"street"=>"1 Memory Ln", "city"=>"Los Angeles"}]}, "permissions"=>[{"identity"=>"application_admin", "identity_type"=>"role", "permissions"=>["read_content", "download"]}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"link_uri":"am","item_id":"urn:uuid:395fe87c-1fa4-4fe3-58cb-cf3690d0fc89","type":"dolore","category":"in commodo est anim","tenant_id":"64ce1109-1b18-9f8c-66a7-e6ab0dcb00c0","subscription_id":"urn:uuid:d4c14679-a58a-4992-a23f-6859ab38ec3e","count":65532118,"create_time":"1993-03-25T06:33:42.436Z","update_time":"1954-07-09T16:09:12.120Z","created_by":"1229df58-493d-0f7c-023c-9bb0a6303aaf","updated_by":"urn:uuid:1892ac99-b24c-4544-9a97-3b4e94e3b3cd","etag":43010002,"owner":"1f4b021d-1126-fb2b-e653-5268a38ed1b2","permission":[{"identity":"velit fugiat","identity_type":"role","permissions":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"identity":"eu aliquip exercitation dolore","identity_type":"case_role","permissions":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}],"id":"f20dccd4-f314-c125-6aa8-a1cfe320b39e","expiration_time":"1997-03-26T23:51:55.740Z","properties":{},"public":false,"_links":{"self":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"edit":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"urn:eim:linkrel:delete":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"urn:eim:linkrel:shared-item":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}}