Invokes an async HTTP PUT request on the resource href/meta/{application}Metadata is stored with the resource. The total size of a resource on disk may not exceed 16MB. Use attached Images to attach arbitrary large binary objects to existing resources Returns (Task.)

this connects Metadata to the designated Base. The method will attempt to serialize the stored object as a BSON document.

Name Description
baseInfo the Resource receiving the meta data
application The application that this meta data is tagged as
values an instance of the meta data to save

Set Metadata Async

Example in C#

// Returns: nothing
await client.SetMetadataAsync(BaseInfo baseInfo, String application, Object values)

Example in CURL

           curl -X PUT \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"System.Byte[], mscorlib",