{"method":"GET","path":"https://api.revcent.com/v2/metadata/{metadata_id}","summary":"Get A Metadata Entry","description":"Retrieve the details of a specific metadata entry. Values saved for the metadata name will be returned. A maximum of 500 metadata values will be returned. View markdown documentation at https://revcent.com/documentation/markdown/mcp/operation/GetMetadataEntry.md for an in-depth overview of this operation.","operationId":"GetMetadataEntry","parameters":[{"in":"path","name":"metadata_id","description":"The metadata ID.","required":true,"schema":{"type":"string","title":"Metadata ID","description":"A 20 character Metadata ID.","minLength":20,"maxLength":20}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"encoding":{},"schema":{"additionalProperties":false,"properties":{},"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"allOf":[{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"The API call response code, 1 = Success","type":"integer","enum":[1]}},"title":"APICallResponseInfo","type":"object","additionalProperties":false},{"type":"object","description":"The details metadata entry which also contains the value(s) associated with the metadata name stored in RevCent.","additionalProperties":false,"properties":{"created_date_unix":{"description":"The unix timestamp of when the item was created.","type":"integer","format":"unix-time"},"id":{"type":"string","title":"Metadata ID","description":"A 20 character Metadata ID.","minLength":20,"maxLength":20},"name":{"description":"The metadata name.","type":"string"},"enabled":{"description":"Whether the metadata is currently enabled.","type":"boolean"},"values":{"type":"array","description":"An array of saved values for the metadata entry. A maximum of 500 unique values will be returned when values are present during the GetMetadataEntry operation.","items":{"type":"string","description":"A metadata value."}},"updated_date_unix":{"description":"The unix timestamp of when the item was last updated.","type":"integer","format":"unix-time"}}}]}}},"description":"Successful response."},"default":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"This value indicates that there is an error. Will always be 0.","type":"integer","enum":[0]},"error_code":{"description":"The specific error code.","type":"string"},"message":{"description":"A human readable description of the error.","type":"string"},"result":{"description":"A description of the API call result.","type":"string"}},"title":"APIStandardErrors","type":"object","additionalProperties":false}}},"description":"Error response."}}}