cancel
Showing results for 
Search instead for 
Did you mean: 

How to set a managed blob using the REST API

Alain_ESCAFFRE
Star Contributor
Star Contributor

What is the way to create a document and set a managed blob on it using the rest API, on a 10.3 snapshot? I have a custom blob provider, my client layer knows the id of the blob in the remote provider.

1 ACCEPTED ANSWER

ThibArg_
Star Contributor
Star Contributor

The value to send for the blob (file:content for example)

{
  "entity-type: "document",
  . . .
  "properties": {
    . . .
    "file:content": {
      "providerId": "THE_PROVIDER_ID",
      "key": "THE_BLOBKEY"
    }
  }

(see JSONManagerBlobDecoder)

Notice: Worked well during a test Nuxeo/Simflofy/Documentum

View answer in original post

2 REPLIES 2

ThibArg_
Star Contributor
Star Contributor

The value to send for the blob (file:content for example)

{
  "entity-type: "document",
  . . .
  "properties": {
    . . .
    "file:content": {
      "providerId": "THE_PROVIDER_ID",
      "key": "THE_BLOBKEY"
    }
  }

(see JSONManagerBlobDecoder)

Notice: Worked well during a test Nuxeo/Simflofy/Documentum

thank you, that is still for the same use case;)

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.