Design spec of resource capacity check API