Search code examples
web-servicesrestsfdc-metadata-api

What exactly is Metadata API?


What exactly is Metadata API. I heard this terms many times but I am still not able to understand the concept of it.

I know how to create API in java or javascript but Many times I have been told to explore Metadata API of the application but still I am not able to understand.

Can somebody give an example for the same? is there any public metadata API available?


Solution

  • If you just take the general meaning of Metadata - "data that provides information about other data". You can just think of a Metadata API is an interface that allows you to request data about data and get a response.

    An example could be a photo, when a raw photo is taken there is lots of metadata that stores values about exposure, contrast etc.

    So a metadata API in this context could be used to interact with that data. It would be classed as a Metadata API because you are not interacting directly with the photo but the data that builds the photo. Does that make sense?