fatsecret Platform API Documentation
⚠️ This version has been deprecated. Please upgrade to the latest version.
Description
This is a utility method, returning the full list of all supported recipe type names.
Parameters
URL / Method
URL Based Integration
As part of a transition away from parameterized methods as actions, we have introduced a URL based structure with a relative HTTP Method (GET, POST, PUT, DELETE)
You may continue to use method based calls however we recommend updating to path based calls for new integrations.
Please refer to our guide here for additional information
Response
There are no storable values returned by this call.
Each recipe_types element contains information as follows:
| NAME | TYPE | DESCRIPTION |
|---|---|---|
| recipe_type | String | Recipe type E.G.: "Appetizer" |
Example Response
⚠️ Response json is only in array format when more than one object is returned
Example 1:
<?xml version="1.0" encoding="utf-8" ?>
<recipe_types xmlns="http://platform.fatsecret.com/api/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://platform.fatsecret.com/api/1.0/ http://platform.fatsecret.com/api/1.0/fatsecret.xsd">
<recipe_type>Appetizers</recipe_type>
<recipe_type>Soups</recipe_type>
<recipe_type>Main Dishes</recipe_type>
</recipe_types>
Example 1:
{
"recipe_types": {
"recipe_type": [
"Appetizers",
"Soups",
"Main Dishes"
]
}
}
Error Codes
| CODE | TYPE | DESCRIPTION |
|---|---|---|
| 2 | OAuth 1.0 | Missing required oauth parameter: '<details>' |
| 3 | OAuth 1.0 | Unsupported oauth parameter: '<details>' |
| 4 | OAuth 1.0 | Invalid signature method: '<details>' |
| 5 | OAuth 1.0 | Invalid consumer key: '<details>' |
| 6 | OAuth 1.0 | Invalid/expired timestamp: '<details>' |
| 7 | OAuth 1.0 | Invalid/used nonce: '<details>' |
| 8 | OAuth 1.0 | Invalid signature: '<details>' |
| 9 | OAuth 1.0 | Invalid access token: '<details>' |
| 13 | OAuth 2.0 | Invalid token: '<details>' |
| 14 | OAuth 2.0 | Missing scope: '<details>' |