Retrieve Multiple Field Plugins
https://mapi.storyblok.com/v1/field_typesReturns an array of field plugin objects. This endpoint is paged.
org_field_types/partner_field_types/Query parameters
Section titled “Query parameters”- only_mine required number
Filter field plugins by the user. Default
1 - page required number
Default:
1. Learn more under Pagination. - per_page required number
Default:
25. Max:100. Learn more under Pagination. - search required string
Filter by search term
Response properties
Section titled “Response properties”- field_types object[]
Array of objects containing information about the field plugin
Examples
Section titled “Examples”curl "https://mapi.storyblok.com/v1/field_types/" \ -H "Authorization: YOUR_OAUTH_TOKEN"// Using the Universal JavaScript Client:// https://github.com/storyblok/storyblok-js-clientStoryblok.get('field_types/', {}) .then(response => { console.log(response) }).catch(error => { console.log(error) })$client = new \Storyblok\ManagementClient('YOUR_OAUTH_TOKEN');
$client->get('field_types/')->getBody();HttpResponse<String> response = Unirest.get("https://mapi.storyblok.com/v1/field_types/") .header("Authorization", "YOUR_OAUTH_TOKEN") .asString();var client = new RestClient("https://mapi.storyblok.com/v1/field_types/");var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "YOUR_OAUTH_TOKEN");IRestResponse response = client.Execute(request);import requests
url = "https://mapi.storyblok.com/v1/field_types/"
querystring = {}
payload = ""headers = { 'Authorization': "YOUR_OAUTH_TOKEN"}
response = requests.request("GET", url, data=payload, headers=headers, params=querystring)
print(response.text)require 'storyblok'client = Storyblok::Client.new(oauth_token: 'YOUR_OAUTH_TOKEN')
client.get('field_types/')import Foundation
let headers = [ "Authorization": "YOUR_OAUTH_TOKEN"]
let request = NSMutableURLRequest(url: NSURL(string: "https://mapi.storyblok.com/v1/field_types/")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0)request.method = "GET"request.allHTTPHeaderFields = headers
let session = URLSession.sharedlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) }})
dataTask.resume()curl "https://mapi.storyblok.com/v1/org_field_types/" \ -H "Authorization: YOUR_OAUTH_TOKEN"// Using the Universal JavaScript Client:// https://github.com/storyblok/storyblok-js-clientStoryblok.get('org_field_types/', {}) .then(response => { console.log(response) }).catch(error => { console.log(error) })$client = new \Storyblok\ManagementClient('YOUR_OAUTH_TOKEN');
$client->get('org_field_types/')->getBody();HttpResponse<String> response = Unirest.get("https://mapi.storyblok.com/v1/org_field_types/") .header("Authorization", "YOUR_OAUTH_TOKEN") .asString();var client = new RestClient("https://mapi.storyblok.com/v1/org_field_types/");var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "YOUR_OAUTH_TOKEN");IRestResponse response = client.Execute(request);import requests
url = "https://mapi.storyblok.com/v1/org_field_types/"
querystring = {}
payload = ""headers = { 'Authorization': "YOUR_OAUTH_TOKEN"}
response = requests.request("GET", url, data=payload, headers=headers, params=querystring)
print(response.text)require 'storyblok'client = Storyblok::Client.new(oauth_token: 'YOUR_OAUTH_TOKEN')
client.get('org_field_types/')import Foundation
let headers = [ "Authorization": "YOUR_OAUTH_TOKEN"]
let request = NSMutableURLRequest(url: NSURL(string: "https://mapi.storyblok.com/v1/org_field_types/")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0)request.method = "GET"request.allHTTPHeaderFields = headers
let session = URLSession.sharedlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) }})
dataTask.resume()curl "https://mapi.storyblok.com/v1/partner_field_types/" \ -H "Authorization: YOUR_OAUTH_TOKEN"// Using the Universal JavaScript Client:// https://github.com/storyblok/storyblok-js-clientStoryblok.get('partner_field_types/', {}) .then(response => { console.log(response) }).catch(error => { console.log(error) })$client = new \Storyblok\ManagementClient('YOUR_OAUTH_TOKEN');
$client->get('partner_field_types/')->getBody();HttpResponse<String> response = Unirest.get("https://mapi.storyblok.com/v1/partner_field_types/") .header("Authorization", "YOUR_OAUTH_TOKEN") .asString();var client = new RestClient("https://mapi.storyblok.com/v1/partner_field_types/");var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "YOUR_OAUTH_TOKEN");IRestResponse response = client.Execute(request);import requests
url = "https://mapi.storyblok.com/v1/partner_field_types/"
querystring = {}
payload = ""headers = { 'Authorization': "YOUR_OAUTH_TOKEN"}
response = requests.request("GET", url, data=payload, headers=headers, params=querystring)
print(response.text)require 'storyblok'client = Storyblok::Client.new(oauth_token: 'YOUR_OAUTH_TOKEN')
client.get('partner_field_types/')import Foundation
let headers = [ "Authorization": "YOUR_OAUTH_TOKEN"]
let request = NSMutableURLRequest(url: NSURL(string: "https://mapi.storyblok.com/v1/partner_field_types/")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0)request.method = "GET"request.allHTTPHeaderFields = headers
let session = URLSession.sharedlet dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) }})
dataTask.resume()Get in touch with the Storyblok community