Represents one Metadata element is the set of meta data attached to a resource.
Meta-data is used to attach extra information to an object. Like custom form information on a person.
Item -> MetadataItem
Field | Type | Inherited from | Description |
---|---|---|---|
Href | String | Item | Gets or sets the href. |
Application | String | MetadataItem | Gets or sets the application. |
ShouldPublishUpdateEvents | Nullable<Boolean> | MetadataItem | Gets or sets if updates to this MetadataItem should publish Object Modified events. |
Values | String | MetadataItem | Gets or sets the values. |
{
"Href" : "String",
"Application" : "String",
"ShouldPublishUpdateEvents" : "Nullable\<Boolean\>",
"Values" : "String"
}
Example in C#
// Returns: T
var item = await client.GetMetadataAnonymousTypeAsync<T>(BaseInfo baseInfo, String application, T annonymousTypeObject);
Example in CURL
curl -X GET \
https://keepapi.feenicshosting.com/api/f/INSRTANCE.KEY/people/PERSON.KEY/meta/cUrlExample \
-H 'Authorization: Bearer TOKEN_GOES_HERE'
Example in C#
// Returns: T
var item = await client.GetMetadataAsync<T>(BaseInfo baseInfo, String application);
Example in CURL
curl -X GET \
https://keepapi.feenicshosting.com/api/f/INSRTANCE.KEY/people/PERSON.KEY/meta/cUrlExample \
-H 'Authorization: Bearer TOKEN_GOES_HERE'
Example in C#
// Returns: nothing
await client.RemoveMetadataAsync(BaseInfo baseInfo, String application);
Example in CURL
curl -X DELETE \
https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/people/PERSON.KEY/meta/cUrlExample \
-H 'Authorization: Bearer TOKEN_GOES_HERE'
Example in C#
// Returns: nothing
await client.SetMetadataAsync(BaseInfo baseInfo, String application, Object values, Boolean publishUpdateEvents);
Example in CURL
curl -X PUT \
https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/people/PERSON.KEY/meta2/cUrlExample?shouldPublishUpdateEvents=True \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-d '{
"property":"value",
"otherProperty":42
}'