SetMetadataAsync

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 \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/people/PERSON.KEY/meta/cUrlExample \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"System.Byte[], mscorlib",
                       "$value":"dAAAAApLZXkACUNyZWF0ZWRPbgCA0OXufMf//wpVc2VyAAJOb3RlVGV4dAA9AAAAVGhpcyBDYW4gYmUgYW55IE9iamVjdC4gSSBqdXN0IGFyYml0cmFybGl5IGNob29zZSBhIE5vdGVJbmZvAApIcmVmAAA="
                   }'