{"resource_type":{"id":631,"name":"http","schema":"{\n\t\"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n\t\"order\": [\n\t\t\"base_url\",\n\t\t\"headers\",\n\t\t\"auth\",\n\t\t\"tls\"\n\t],\n\t\"properties\": {\n\t\t\"auth\": {\n\t\t\t\"default\": {\n\t\t\t\t\"label\": \"NONE\"\n\t\t\t},\n\t\t\t\"oneOf\": [\n\t\t\t\t{\n\t\t\t\t\t\"properties\": {\n\t\t\t\t\t\t\"label\": {\n\t\t\t\t\t\t\t\"enum\": [\n\t\t\t\t\t\t\t\t\"NONE\"\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t\"title\": \"NONE\",\n\t\t\t\t\t\"type\": \"object\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"order\": [\n\t\t\t\t\t\t\"username\",\n\t\t\t\t\t\t\"password\"\n\t\t\t\t\t],\n\t\t\t\t\t\"properties\": {\n\t\t\t\t\t\t\"label\": {\n\t\t\t\t\t\t\t\"enum\": [\n\t\t\t\t\t\t\t\t\"BASIC\"\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"password\": {\n\t\t\t\t\t\t\t\"password\": true,\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"username\": {\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t\"required\": [\n\t\t\t\t\t\t\"username\",\n\t\t\t\t\t\t\"password\"\n\t\t\t\t\t],\n\t\t\t\t\t\"title\": \"BASIC\",\n\t\t\t\t\t\"type\": \"object\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"order\": [\n\t\t\t\t\t\t\"token\"\n\t\t\t\t\t],\n\t\t\t\t\t\"properties\": {\n\t\t\t\t\t\t\"label\": {\n\t\t\t\t\t\t\t\"enum\": [\n\t\t\t\t\t\t\t\t\"BEARER\"\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"token\": {\n\t\t\t\t\t\t\t\"description\": \"Sent as Authorization: Bearer <token>.\",\n\t\t\t\t\t\t\t\"password\": true,\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t\"required\": [\n\t\t\t\t\t\t\"token\"\n\t\t\t\t\t],\n\t\t\t\t\t\"title\": \"BEARER\",\n\t\t\t\t\t\"type\": \"object\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"order\": [\n\t\t\t\t\t\t\"token_url\",\n\t\t\t\t\t\t\"client_id\",\n\t\t\t\t\t\t\"client_secret\",\n\t\t\t\t\t\t\"scope\",\n\t\t\t\t\t\t\"audience\",\n\t\t\t\t\t\t\"client_auth\"\n\t\t\t\t\t],\n\t\t\t\t\t\"properties\": {\n\t\t\t\t\t\t\"audience\": {\n\t\t\t\t\t\t\t\"description\": \"Sent as the audience parameter, for servers that require one (e.g. Auth0).\",\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"client_auth\": {\n\t\t\t\t\t\t\t\"default\": \"basic\",\n\t\t\t\t\t\t\t\"description\": \"How the client id and secret are sent to the token endpoint: an Authorization: Basic header, or client_id and client_secret form fields.\",\n\t\t\t\t\t\t\t\"enum\": [\n\t\t\t\t\t\t\t\t\"basic\",\n\t\t\t\t\t\t\t\t\"body\"\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"client_id\": {\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"client_secret\": {\n\t\t\t\t\t\t\t\"password\": true,\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"label\": {\n\t\t\t\t\t\t\t\"enum\": [\n\t\t\t\t\t\t\t\t\"OAUTH2_CLIENT_CREDENTIALS\"\n\t\t\t\t\t\t\t],\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"scope\": {\n\t\t\t\t\t\t\t\"description\": \"Space-separated scopes, if the server needs them.\",\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"token_url\": {\n\t\t\t\t\t\t\t\"description\": \"The authorization server's token endpoint, e.g. https://idp.example.com/oauth2/token.\",\n\t\t\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t\"required\": [\n\t\t\t\t\t\t\"token_url\",\n\t\t\t\t\t\t\"client_id\",\n\t\t\t\t\t\t\"client_secret\"\n\t\t\t\t\t],\n\t\t\t\t\t\"title\": \"OAUTH2_CLIENT_CREDENTIALS\",\n\t\t\t\t\t\"type\": \"object\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"title\": \"Authentication\",\n\t\t\t\"type\": \"object\"\n\t\t},\n\t\t\"base_url\": {\n\t\t\t\"description\": \"Prefixed to relative request URLs, e.g. https://api.example.com/v1. Absolute request URLs are used as they are.\",\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"headers\": {\n\t\t\t\"description\": \"Headers sent on every request, e.g. an API key header: {\\\"X-API-Key\\\": \\\"$var:f/team/api_key\\\"}. Reference a secret variable for secrets: values typed here are stored in the resource as plain text.\",\n\t\t\t\"properties\": {},\n\t\t\t\"type\": \"object\"\n\t\t},\n\t\t\"tls\": {\n\t\t\t\"description\": \"Only needed for a private CA or mutual TLS.\",\n\t\t\t\"order\": [\n\t\t\t\t\"ca_certificate\",\n\t\t\t\t\"client_certificate\",\n\t\t\t\t\"client_key\",\n\t\t\t\t\"client_key_password\",\n\t\t\t\t\"verify\"\n\t\t\t],\n\t\t\t\"properties\": {\n\t\t\t\t\"ca_certificate\": {\n\t\t\t\t\t\"description\": \"PEM CA certificate(s) trusted for the server, in addition to the system CAs.\",\n\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t},\n\t\t\t\t\"client_certificate\": {\n\t\t\t\t\t\"description\": \"PEM client certificate (and chain) presented for mutual TLS.\",\n\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t},\n\t\t\t\t\"client_key\": {\n\t\t\t\t\t\"description\": \"PEM private key of the client certificate.\",\n\t\t\t\t\t\"password\": true,\n\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t},\n\t\t\t\t\"client_key_password\": {\n\t\t\t\t\t\"description\": \"Password of the client key, if it is encrypted.\",\n\t\t\t\t\t\"password\": true,\n\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t},\n\t\t\t\t\"verify\": {\n\t\t\t\t\t\"default\": true,\n\t\t\t\t\t\"description\": \"Verify the server certificate. Turn off only for a test server.\",\n\t\t\t\t\t\"type\": \"boolean\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"type\": \"object\"\n\t\t}\n\t},\n\t\"required\": [],\n\t\"type\": \"object\"\n}","approved":true,"app":"http","description":"How to reach an HTTP API: a base URL, default headers, the authentication (basic, bearer token or OAuth 2.0 client credentials) and TLS settings (a private CA, a client certificate and key for mutual TLS).","created_by":"hugo989","created_at":"2026-11-05T15:18:16.322Z","format_extension":null,"picks":"0","display_name":"HTTP"}}