Few tips on API usage How to write a resource path ? A resource_path is the combination of a kind of resource and its id. For example, the resource_path of a line will be line/line:foo.