{ "name": "Atlas Fitnes", "description": "atlasfitnes.com", "url": "https:\/\/atlasfitnes.com", "home": "https:\/\/atlasfitnes.com\/nn", "gmt_offset": "0", "timezone_string": "", "namespaces": [ "oembed\/1.0", "wc\/v3", "yoast\/v1", "ldlms\/v1", "wp\/v2", "ldlms\/v2", "jetpack\/v4", "elementor\/v1", "wc\/v1", "wc-admin", "wc-analytics", "wc\/store", "wc\/store\/v1", "wc\/private", "wp-rocket\/v1", "google-site-kit\/v1", "elementor-pro\/v1", "wc\/v2", "wc-telemetry", "wccom-site\/v3", "ld-propanel\/v1", "affwp\/v1", "wp-site-health\/v1", "wp-block-editor\/v1" ], "authentication": { "application-passwords": { "endpoints": { "authorization": "https:\/\/atlasfitnes.com\/wp-admin\/authorize-application.php" } } }, "routes": { "\/": { "namespace": "", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/" } ] } }, "\/batch\/v1": { "namespace": "", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "validation": { "type": "string", "enum": [ "require-all-validate", "normal" ], "default": "normal", "required": false }, "requests": { "type": "array", "maxItems": 25, "items": { "type": "object", "properties": { "method": { "type": "string", "enum": [ "POST", "PUT", "PATCH", "DELETE" ], "default": "POST" }, "path": { "type": "string", "required": true }, "body": { "type": "object", "properties": [], "additionalProperties": true }, "headers": { "type": "object", "properties": [], "additionalProperties": { "type": [ "string", "array" ], "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/batch\/v1" } ] } }, "\/oembed\/1.0": { "namespace": "oembed\/1.0", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "oembed\/1.0", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/oembed\/1.0" } ] } }, "\/oembed\/1.0\/embed": { "namespace": "oembed\/1.0", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "URL-en til ressursen som det skal hentast oEmbed-data for.", "type": "string", "format": "uri", "required": true }, "format": { "default": "json", "required": false }, "maxwidth": { "default": 600, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/oembed\/1.0\/embed" } ] } }, "\/oembed\/1.0\/proxy": { "namespace": "oembed\/1.0", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "URL-en til ressursen som det skal hentast oEmbed-data for.", "type": "string", "format": "uri", "required": true }, "format": { "description": "oEmbed-formatet som skal brukast.", "type": "string", "default": "json", "enum": [ "json", "xml" ], "required": false }, "maxwidth": { "description": "Den maksimale breidda p\u00e5 den innebygde ramma i pikslar.", "type": "integer", "default": 600, "required": false }, "maxheight": { "description": "Den maksimale h\u00f8gda p\u00e5 den innebygde ramma i pikslar.", "type": "integer", "required": false }, "discover": { "description": "Om det skal utf\u00f8rast oppdagingssp\u00f8rjingar for oEmbed mot tilbydarar som ikkje er kvitelista.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/oembed\/1.0\/proxy" } ] } }, "\/wc\/v3": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/v3", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3" } ] } }, "\/wc\/v3\/marketplace\/featured": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/marketplace\/featured" } ] } }, "\/wc\/v3\/marketplace\/refresh": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/marketplace\/refresh" } ] } }, "\/wc\/v3\/marketplace\/subscriptions": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/marketplace\/subscriptions" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/connect": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/marketplace\/subscriptions\/connect" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/disconnect": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/marketplace\/subscriptions\/disconnect" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/activate": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/marketplace\/subscriptions\/activate" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/install-url": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/marketplace\/subscriptions\/install-url" } ] } }, "\/wc\/v3\/marketplace\/create-order": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_id": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/marketplace\/create-order" } ] } }, "\/yoast\/v1": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "yoast\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1" } ] } }, "\/yoast\/v1\/file_size": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "type": "string", "description": "The url to retrieve", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/file_size" } ] } }, "\/yoast\/v1\/statistics": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/statistics" } ] } }, "\/yoast\/v1\/new-content-type-visibility\/dismiss-post-type": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "postTypeName": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/new-content-type-visibility\/dismiss-post-type" } ] } }, "\/yoast\/v1\/new-content-type-visibility\/dismiss-taxonomy": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "taxonomyName": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/new-content-type-visibility\/dismiss-taxonomy" } ] } }, "\/yoast\/v1\/introductions\/(?P[\\w-]+)\/seen": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "introduction_id": { "type": "string", "required": true }, "is_seen": { "type": "bool", "default": true, "required": false } } } ] }, "\/yoast\/v1\/wistia_embed_permission": { "namespace": "yoast\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "value": { "type": "bool", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/wistia_embed_permission" } ] } }, "\/yoast\/v1\/alerts\/dismiss": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "key": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/alerts\/dismiss" } ] } }, "\/yoast\/v1\/configuration\/site_representation": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "company_or_person": { "type": "string", "enum": [ "company", "person" ], "required": true }, "company_name": { "type": "string", "required": false }, "company_logo": { "type": "string", "required": false }, "company_logo_id": { "type": "integer", "required": false }, "person_logo": { "type": "string", "required": false }, "person_logo_id": { "type": "integer", "required": false }, "company_or_person_user_id": { "type": "integer", "required": false }, "description": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/configuration\/site_representation" } ] } }, "\/yoast\/v1\/configuration\/social_profiles": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "facebook_site": { "type": "string", "required": false }, "twitter_site": { "type": "string", "required": false }, "other_social_urls": { "type": "array", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/configuration\/social_profiles" } ] } }, "\/yoast\/v1\/configuration\/check_capability": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "user_id": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/configuration\/check_capability" } ] } }, "\/yoast\/v1\/configuration\/enable_tracking": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "tracking": { "type": "boolean", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/configuration\/enable_tracking" } ] } }, "\/yoast\/v1\/configuration\/save_configuration_state": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "finishedSteps": { "type": "array", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/configuration\/save_configuration_state" } ] } }, "\/yoast\/v1\/configuration\/get_configuration_state": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/configuration\/get_configuration_state" } ] } }, "\/yoast\/v1\/import\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ] }, "\/yoast\/v1\/get_head": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/get_head" } ] } }, "\/yoast\/v1\/indexing\/posts": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/indexing\/posts" } ] } }, "\/yoast\/v1\/indexing\/terms": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/indexing\/terms" } ] } }, "\/yoast\/v1\/indexing\/post-type-archives": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/indexing\/post-type-archives" } ] } }, "\/yoast\/v1\/indexing\/general": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/indexing\/general" } ] } }, "\/yoast\/v1\/indexing\/prepare": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/indexing\/prepare" } ] } }, "\/yoast\/v1\/indexing\/indexables-complete": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/indexing\/indexables-complete" } ] } }, "\/yoast\/v1\/indexing\/complete": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/indexing\/complete" } ] } }, "\/yoast\/v1\/link-indexing\/posts": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/link-indexing\/posts" } ] } }, "\/yoast\/v1\/link-indexing\/terms": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/link-indexing\/terms" } ] } }, "\/yoast\/v1\/integrations\/set_active": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "active": { "type": "boolean", "required": true }, "integration": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/integrations\/set_active" } ] } }, "\/yoast\/v1\/meta\/search": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/meta\/search" } ] } }, "\/yoast\/v1\/semrush\/authenticate": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "code": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/semrush\/authenticate" } ] } }, "\/yoast\/v1\/semrush\/country_code": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "country_code": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/semrush\/country_code" } ] } }, "\/yoast\/v1\/semrush\/related_keyphrases": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "keyphrase": { "required": true }, "country_code": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/semrush\/related_keyphrases" } ] } }, "\/yoast\/v1\/wincher\/authorization-url": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/wincher\/authorization-url" } ] } }, "\/yoast\/v1\/wincher\/authenticate": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "code": { "required": true }, "websiteId": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/wincher\/authenticate" } ] } }, "\/yoast\/v1\/wincher\/keyphrases\/track": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "keyphrases": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/wincher\/keyphrases\/track" } ] } }, "\/yoast\/v1\/wincher\/keyphrases": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "keyphrases": { "required": false }, "permalink": { "required": false }, "startAt": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/wincher\/keyphrases" } ] } }, "\/yoast\/v1\/wincher\/keyphrases\/untrack": { "namespace": "yoast\/v1", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/wincher\/keyphrases\/untrack" } ] } }, "\/yoast\/v1\/wincher\/account\/limit": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/wincher\/account\/limit" } ] } }, "\/yoast\/v1\/wincher\/account\/upgrade-campaign": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/wincher\/account\/upgrade-campaign" } ] } }, "\/yoast\/v1\/workouts": { "namespace": "yoast\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "cornerstone": { "required": true }, "orphaned": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/workouts" } ] } }, "\/yoast\/v1\/ai_generator\/consent": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "consent": { "type": "boolean", "description": "Whether the consent to use AI-based services has been given by the user.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/ai_generator\/consent" } ] } }, "\/yoast\/v1\/ai_generator\/callback": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "access_jwt": { "type": "string", "description": "The access JWT.", "required": true }, "refresh_jwt": { "type": "string", "description": "The JWT to be used when the access JWT needs to be refreshed.", "required": true }, "code_challenge": { "type": "string", "description": "The SHA266 of the verification code used to check the authenticity of a callback call.", "required": true }, "user_id": { "type": "integer", "description": "The id of the user associated to the code verifier.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/ai_generator\/callback" } ] } }, "\/yoast\/v1\/ai_generator\/refresh_callback": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "access_jwt": { "type": "string", "description": "The access JWT.", "required": true }, "refresh_jwt": { "type": "string", "description": "The JWT to be used when the access JWT needs to be refreshed.", "required": true }, "code_challenge": { "type": "string", "description": "The SHA266 of the verification code used to check the authenticity of a callback call.", "required": true }, "user_id": { "type": "integer", "description": "The id of the user associated to the code verifier.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/ai_generator\/refresh_callback" } ] } }, "\/yoast\/v1\/ai_generator\/get_suggestions": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "type": { "type": "string", "enum": [ "seo-title", "meta-description", "product-seo-title", "product-meta-description", "taxonomy-seo-title", "taxonomy-meta-description" ], "description": "The type of suggestion requested.", "required": true }, "prompt_content": { "type": "string", "description": "The content needed by the prompt to ask for suggestions.", "required": true }, "focus_keyphrase": { "type": "string", "description": "The focus keyphrase associated to the post.", "required": true }, "language": { "type": "string", "description": "The language the post is written in.", "required": true }, "platform": { "type": "string", "enum": [ "Google", "Facebook", "Twitter" ], "description": "The platform the post is intended for.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/ai_generator\/get_suggestions" } ] } }, "\/yoast\/v1\/ai_generator\/fix_assessments": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "assessment": { "type": "string", "enum": [ "keyphrase-introduction", "keyphrase-density", "keyphrase-distribution", "keyphrase-subheadings" ], "description": "The assessment.", "required": true }, "prompt_content": { "type": "string", "description": "The content needed by the prompt to ask for suggestions.", "required": true }, "focus_keyphrase": { "type": "string", "description": "The focus keyphrase associated to the post.", "required": true }, "synonyms": { "type": "string", "description": "The synonyms for the focus keyphrase.", "required": false }, "language": { "type": "string", "description": "The language the post is written in.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/ai_generator\/fix_assessments" } ] } }, "\/yoast\/v1\/ai_generator\/get_usage": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/ai_generator\/get_usage" } ] } }, "\/yoast\/v1\/ai_generator\/bust_subscription_cache": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/ai_generator\/bust_subscription_cache" } ] } }, "\/yoast\/v1\/link_suggestions": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "prominent_words": { "type": "object", "description": "Stems of prominent words and their term frequencies we want link suggestions based on", "required": true }, "object_id": { "type": "integer", "description": "The object id of the current indexable.", "required": true }, "object_type": { "type": "string", "description": "The object type of the current indexable.", "required": true }, "limit": { "default": 5, "type": "integer", "description": "The maximum number of link suggestions to retrieve", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/link_suggestions" } ] } }, "\/yoast\/v1\/prominent_words\/get_content": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/prominent_words\/get_content" } ] } }, "\/yoast\/v1\/prominent_words\/complete": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/prominent_words\/complete" } ] } }, "\/yoast\/v1\/prominent_words\/save": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "array", "items": { "type": "object", "properties": { "object_id": { "type": "number", "required": true }, "prominent_words": { "type": "object", "required": false } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/prominent_words\/save" } ] } }, "\/yoast\/v1\/workouts\/noindex": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "object_id": { "type": "integer", "required": true }, "object_type": { "type": "string", "required": true }, "object_sub_type": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/workouts\/noindex" } ] } }, "\/yoast\/v1\/workouts\/remove_redirect": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "object_id": { "type": "integer", "required": true }, "object_type": { "type": "string", "required": true }, "object_sub_type": { "type": "string", "required": true }, "permalink": { "type": "string", "required": true }, "redirect_url": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/workouts\/remove_redirect" } ] } }, "\/yoast\/v1\/workouts\/link_suggestions": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "indexableId": { "type": "integer", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/workouts\/link_suggestions" } ] } }, "\/yoast\/v1\/workouts\/last_updated": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "postId": { "type": "integer", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/workouts\/last_updated" } ] } }, "\/yoast\/v1\/workouts\/cornerstone_data": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/workouts\/cornerstone_data" } ] } }, "\/yoast\/v1\/workouts\/enable_cornerstone": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "object_id": { "type": "integer", "required": true }, "object_type": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/workouts\/enable_cornerstone" } ] } }, "\/ldlms\/v1": { "namespace": "ldlms\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "ldlms\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v1" } ] } }, "\/ldlms\/v1\/echo": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v1\/echo" } ] } }, "\/wp\/v2": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp\/v2", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2" } ] } }, "\/wp\/v2\/sfwd-courses": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": [] }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": [] }, { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": [] }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": [] }, { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "ld_course_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_course_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_course_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_course_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_course_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_course_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_course_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_course_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_course_category": { "description": "The terms assigned to the post in the ld_course_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_course_tag": { "description": "The terms assigned to the post in the ld_course_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "course_materials": { "description": "Course Materials", "type": "html", "required": false }, "course_price_type": { "default": "open", "description": "Course Price Type", "type": "string", "enum": [ "open", "closed", "free", "buynow", "subscribe" ], "required": false }, "custom_button_label": { "description": "Custom Button Label", "type": "text", "required": false }, "custom_button_url": { "description": "Custom Button URL", "type": "text", "required": false }, "course_price": { "description": "Course Price", "type": "text", "required": false }, "course_prerequisite_enabled": { "default": false, "description": "Enable Course Prerequisites", "type": "boolean", "required": false }, "course_prerequisite": { "default": [], "description": "Course Prerequisites", "type": "array", "required": false }, "course_prerequisite_compare": { "default": "ANY", "description": "Course Prerequisites Compare", "type": "string", "enum": [ "ANY", "ALL" ], "required": false }, "course_points_enabled": { "description": "Enable Course Points", "type": "boolean", "required": false }, "course_points": { "description": "Course Points", "type": "number", "required": false }, "course_points_access": { "description": "Course Points Access", "type": "number", "required": false }, "course_disable_lesson_progression": { "default": 0, "description": "Disable Lesson Progression", "type": "boolean", "required": false }, "expire_access": { "description": "Expire Access", "type": "boolean", "required": false }, "expire_access_days": { "description": "Expire Access After (days)", "type": "number", "required": false }, "expire_access_delete_progress": { "description": "Delete Course and Quiz Data After Expiration", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/sfwd-courses" } ] } }, "\/wp\/v2\/sfwd-courses\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_course_category": { "description": "The terms assigned to the post in the ld_course_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_course_tag": { "description": "The terms assigned to the post in the ld_course_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "course_materials": { "description": "Course Materials", "type": "html", "required": false }, "course_price_type": { "description": "Course Price Type", "type": "string", "enum": [ "open", "closed", "free", "buynow", "subscribe" ], "required": false }, "custom_button_label": { "description": "Custom Button Label", "type": "text", "required": false }, "custom_button_url": { "description": "Custom Button URL", "type": "text", "required": false }, "course_price": { "description": "Course Price", "type": "text", "required": false }, "course_prerequisite_enabled": { "description": "Enable Course Prerequisites", "type": "boolean", "required": false }, "course_prerequisite": { "description": "Course Prerequisites", "type": "array", "required": false }, "course_prerequisite_compare": { "description": "Course Prerequisites Compare", "type": "string", "enum": [ "ANY", "ALL" ], "required": false }, "course_points_enabled": { "description": "Enable Course Points", "type": "boolean", "required": false }, "course_points": { "description": "Course Points", "type": "number", "required": false }, "course_points_access": { "description": "Course Points Access", "type": "number", "required": false }, "course_disable_lesson_progression": { "description": "Disable Lesson Progression", "type": "boolean", "required": false }, "expire_access": { "description": "Expire Access", "type": "boolean", "required": false }, "expire_access_days": { "description": "Expire Access After (days)", "type": "number", "required": false }, "expire_access_delete_progress": { "description": "Delete Course and Quiz Data After Expiration", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } }, { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_course_category": { "description": "The terms assigned to the post in the ld_course_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_course_tag": { "description": "The terms assigned to the post in the ld_course_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "course_materials": { "description": "Course Materials", "type": "html", "required": false }, "course_price_type": { "description": "Course Price Type", "type": "string", "enum": [ "open", "closed", "free", "buynow", "subscribe" ], "required": false }, "custom_button_label": { "description": "Custom Button Label", "type": "text", "required": false }, "custom_button_url": { "description": "Custom Button URL", "type": "text", "required": false }, "course_price": { "description": "Course Price", "type": "text", "required": false }, "course_prerequisite_enabled": { "description": "Enable Course Prerequisites", "type": "boolean", "required": false }, "course_prerequisite": { "description": "Course Prerequisites", "type": "array", "required": false }, "course_prerequisite_compare": { "description": "Course Prerequisites Compare", "type": "string", "enum": [ "ANY", "ALL" ], "required": false }, "course_points_enabled": { "description": "Enable Course Points", "type": "boolean", "required": false }, "course_points": { "description": "Course Points", "type": "number", "required": false }, "course_points_access": { "description": "Course Points Access", "type": "number", "required": false }, "course_disable_lesson_progression": { "description": "Disable Lesson Progression", "type": "boolean", "required": false }, "expire_access": { "description": "Expire Access", "type": "boolean", "required": false }, "expire_access_days": { "description": "Expire Access After (days)", "type": "number", "required": false }, "expire_access_delete_progress": { "description": "Delete Course and Quiz Data After Expiration", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } }, { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Passordet for innlegget dersom det er passordbeskytta.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_course_category": { "description": "The terms assigned to the post in the ld_course_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_course_tag": { "description": "The terms assigned to the post in the ld_course_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "course_materials": { "description": "Course Materials", "type": "html", "required": false }, "course_price_type": { "description": "Course Price Type", "type": "string", "enum": [ "open", "closed", "free", "buynow", "subscribe" ], "required": false }, "custom_button_label": { "description": "Custom Button Label", "type": "text", "required": false }, "custom_button_url": { "description": "Custom Button URL", "type": "text", "required": false }, "course_price": { "description": "Course Price", "type": "text", "required": false }, "course_prerequisite_enabled": { "description": "Enable Course Prerequisites", "type": "boolean", "required": false }, "course_prerequisite": { "description": "Course Prerequisites", "type": "array", "required": false }, "course_prerequisite_compare": { "description": "Course Prerequisites Compare", "type": "string", "enum": [ "ANY", "ALL" ], "required": false }, "course_points_enabled": { "description": "Enable Course Points", "type": "boolean", "required": false }, "course_points": { "description": "Course Points", "type": "number", "required": false }, "course_points_access": { "description": "Course Points Access", "type": "number", "required": false }, "course_disable_lesson_progression": { "description": "Disable Lesson Progression", "type": "boolean", "required": false }, "expire_access": { "description": "Expire Access", "type": "boolean", "required": false }, "expire_access_days": { "description": "Expire Access After (days)", "type": "number", "required": false }, "expire_access_delete_progress": { "description": "Delete Course and Quiz Data After Expiration", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/ldlms\/v1\/sfwd-courses": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "ld_course_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_course_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_course_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_course_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_course_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_course_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_course_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_course_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_course_category": { "description": "The terms assigned to the post in the ld_course_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_course_tag": { "description": "The terms assigned to the post in the ld_course_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "course_materials": { "description": "Course Materials", "type": "html", "required": false }, "course_price_type": { "default": "open", "description": "Course Price Type", "type": "string", "enum": [ "open", "closed", "free", "buynow", "subscribe" ], "required": false }, "custom_button_label": { "description": "Custom Button Label", "type": "text", "required": false }, "custom_button_url": { "description": "Custom Button URL", "type": "text", "required": false }, "course_price": { "description": "Course Price", "type": "text", "required": false }, "course_prerequisite_enabled": { "default": false, "description": "Enable Course Prerequisites", "type": "boolean", "required": false }, "course_prerequisite": { "default": [], "description": "Course Prerequisites", "type": "array", "required": false }, "course_prerequisite_compare": { "default": "ANY", "description": "Course Prerequisites Compare", "type": "string", "enum": [ "ANY", "ALL" ], "required": false }, "course_points_enabled": { "description": "Enable Course Points", "type": "boolean", "required": false }, "course_points": { "description": "Course Points", "type": "number", "required": false }, "course_points_access": { "description": "Course Points Access", "type": "number", "required": false }, "course_disable_lesson_progression": { "default": 0, "description": "Disable Lesson Progression", "type": "boolean", "required": false }, "expire_access": { "description": "Expire Access", "type": "boolean", "required": false }, "expire_access_days": { "description": "Expire Access After (days)", "type": "number", "required": false }, "expire_access_delete_progress": { "description": "Delete Course and Quiz Data After Expiration", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v1\/sfwd-courses" } ] } }, "\/ldlms\/v1\/sfwd-courses\/(?P[\\d]+)": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": true }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_course_category": { "description": "The terms assigned to the post in the ld_course_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_course_tag": { "description": "The terms assigned to the post in the ld_course_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "course_materials": { "description": "Course Materials", "type": "html", "required": false }, "course_price_type": { "description": "Course Price Type", "type": "string", "enum": [ "open", "closed", "free", "buynow", "subscribe" ], "required": false }, "custom_button_label": { "description": "Custom Button Label", "type": "text", "required": false }, "custom_button_url": { "description": "Custom Button URL", "type": "text", "required": false }, "course_price": { "description": "Course Price", "type": "text", "required": false }, "course_prerequisite_enabled": { "description": "Enable Course Prerequisites", "type": "boolean", "required": false }, "course_prerequisite": { "description": "Course Prerequisites", "type": "array", "required": false }, "course_prerequisite_compare": { "description": "Course Prerequisites Compare", "type": "string", "enum": [ "ANY", "ALL" ], "required": false }, "course_points_enabled": { "description": "Enable Course Points", "type": "boolean", "required": false }, "course_points": { "description": "Course Points", "type": "number", "required": false }, "course_points_access": { "description": "Course Points Access", "type": "number", "required": false }, "course_disable_lesson_progression": { "description": "Disable Lesson Progression", "type": "boolean", "required": false }, "expire_access": { "description": "Expire Access", "type": "boolean", "required": false }, "expire_access_days": { "description": "Expire Access After (days)", "type": "number", "required": false }, "expire_access_delete_progress": { "description": "Delete Course and Quiz Data After Expiration", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": true }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/ldlms\/v1\/sfwd-courses\/(?P[\\d]+)\/steps": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Course ID to enroll user into.", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "type": { "description": "Filter returned results by step type.", "type": "string", "default": "all", "enum": [ "all", "h", "l", "t", "r" ], "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Course ID to enroll user into.", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "type": { "description": "Filter returned results by step type.", "type": "string", "default": "all", "enum": [ "all", "h", "l", "t", "r" ], "required": false } } } ] }, "\/ldlms\/v1\/sfwd-courses\/(?P[\\d]+)\/users": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Course ID.", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "fields": { "description": "Returned values.", "type": "string", "default": "ids", "enum": [ "ids", "objects" ], "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "roles": { "description": "Avgrens resultatsettet til brukarar som har minst ei av de oppgjevne rollene. Aksepterer CSV-liste eller enkeltrolle.", "type": "array", "items": { "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsettet til brukarar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Course ID.", "type": "integer", "required": true }, "user_ids": { "description": "User IDs to enroll into course. Limit 50 per request.", "type": "array", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Course ID.", "type": "integer", "required": true }, "user_ids": { "description": "User IDs to remove from group. Limit 50 per request.", "type": "array", "items": { "type": "integer" }, "required": true } } } ] }, "\/wp\/v2\/groups": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": [] }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": [] }, { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": [] }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": [] }, { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "ld_group_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_group_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_group_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_group_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_group_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_group_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_group_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_group_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_category": { "description": "The terms assigned to the post in the ld_group_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_tag": { "description": "The terms assigned to the post in the ld_group_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/groups" } ] } }, "\/wp\/v2\/groups\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_category": { "description": "The terms assigned to the post in the ld_group_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_tag": { "description": "The terms assigned to the post in the ld_group_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } }, { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_category": { "description": "The terms assigned to the post in the ld_group_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_tag": { "description": "The terms assigned to the post in the ld_group_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } }, { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Passordet for innlegget dersom det er passordbeskytta.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_category": { "description": "The terms assigned to the post in the ld_group_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_tag": { "description": "The terms assigned to the post in the ld_group_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/ldlms\/v1\/sfwd-courses\/(?P[\\d]+)\/groups": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Course ID to enroll into.", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "fields": { "description": "Returned values.", "type": "string", "default": "ids", "enum": [ "ids", "objects" ], "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Course ID to enroll into.", "type": "integer", "required": true }, "group_ids": { "description": "Group IDs to enroll into Course.", "type": "array", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Course ID to enroll into.", "type": "integer", "required": true }, "group_ids": { "description": "Group IDs to remove from Course.", "type": "array", "items": { "type": "integer" }, "required": true } } } ] }, "\/wp\/v2\/sfwd-lessons": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": [] }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": [] }, { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "ld_lesson_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_lesson_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_lesson_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_lesson_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_lesson_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_lesson_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_lesson_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_lesson_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "course": { "description": "Limit results to be within a specific Course. Required for non-admin users.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_lesson_category": { "description": "The terms assigned to the post in the ld_lesson_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_lesson_tag": { "description": "The terms assigned to the post in the ld_lesson_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "lesson_materials": { "description": "Lesson Materials", "type": "html", "required": false }, "forced_lesson_time": { "default": "", "description": "Forced Lesson Timer", "type": "text", "required": false }, "lesson_assignment_upload": { "default": 0, "description": "Upload Assignment", "type": "boolean", "required": false }, "auto_approve_assignment": { "default": "on", "description": "Auto Approve Assignment", "type": "boolean", "required": false }, "assignment_upload_limit_count": { "default": "1", "description": "Limit number of uploaded files", "type": "number", "required": false }, "lesson_assignment_deletion_enabled": { "default": 0, "description": "Allow Student to Delete own Assignment(s)", "type": "boolean", "required": false }, "lesson_assignment_points_enabled": { "default": 0, "description": "Award Points for Assignment", "type": "boolean", "required": false }, "lesson_assignment_points_amount": { "default": 0, "description": "Set Number of Points for Assignment", "type": "number", "required": false }, "assignment_upload_limit_extensions": { "default": "", "description": "Allowed File Extensions", "type": "text", "required": false }, "assignment_upload_limit_size": { "default": "", "description": "Allowed File Size", "type": "text", "required": false }, "visible_after": { "default": 0, "description": "Make Lesson visible X Days After Sign-up", "type": "number", "required": false }, "visible_after_specific_date": { "description": "Make Lesson Visible on Specific Date", "type": "wp_date_selector", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/sfwd-lessons" } ] } }, "\/wp\/v2\/sfwd-lessons\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_lesson_category": { "description": "The terms assigned to the post in the ld_lesson_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_lesson_tag": { "description": "The terms assigned to the post in the ld_lesson_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } }, { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Passordet for innlegget dersom det er passordbeskytta.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_lesson_category": { "description": "The terms assigned to the post in the ld_lesson_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_lesson_tag": { "description": "The terms assigned to the post in the ld_lesson_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "lesson_materials": { "description": "Lesson Materials", "type": "html", "required": false }, "forced_lesson_time": { "description": "Forced Lesson Timer", "type": "text", "required": false }, "lesson_assignment_upload": { "description": "Upload Assignment", "type": "boolean", "required": false }, "auto_approve_assignment": { "description": "Auto Approve Assignment", "type": "boolean", "required": false }, "assignment_upload_limit_count": { "description": "Limit number of uploaded files", "type": "number", "required": false }, "lesson_assignment_deletion_enabled": { "description": "Allow Student to Delete own Assignment(s)", "type": "boolean", "required": false }, "lesson_assignment_points_enabled": { "description": "Award Points for Assignment", "type": "boolean", "required": false }, "lesson_assignment_points_amount": { "description": "Set Number of Points for Assignment", "type": "number", "required": false }, "assignment_upload_limit_extensions": { "description": "Allowed File Extensions", "type": "text", "required": false }, "assignment_upload_limit_size": { "description": "Allowed File Size", "type": "text", "required": false }, "visible_after": { "description": "Make Lesson visible X Days After Sign-up", "type": "number", "required": false }, "visible_after_specific_date": { "description": "Make Lesson Visible on Specific Date", "type": "wp_date_selector", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/ldlms\/v1\/sfwd-lessons": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "ld_lesson_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_lesson_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_lesson_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_lesson_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_lesson_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_lesson_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_lesson_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_lesson_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "course": { "description": "Limit results to be within a specific Course. Required for non-admin users.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_lesson_category": { "description": "The terms assigned to the post in the ld_lesson_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_lesson_tag": { "description": "The terms assigned to the post in the ld_lesson_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "lesson_materials": { "description": "Lesson Materials", "type": "html", "required": false }, "forced_lesson_time": { "default": "", "description": "Forced Lesson Timer", "type": "text", "required": false }, "lesson_assignment_upload": { "default": 0, "description": "Upload Assignment", "type": "boolean", "required": false }, "auto_approve_assignment": { "default": "on", "description": "Auto Approve Assignment", "type": "boolean", "required": false }, "assignment_upload_limit_count": { "default": "1", "description": "Limit number of uploaded files", "type": "number", "required": false }, "lesson_assignment_deletion_enabled": { "default": 0, "description": "Allow Student to Delete own Assignment(s)", "type": "boolean", "required": false }, "lesson_assignment_points_enabled": { "default": 0, "description": "Award Points for Assignment", "type": "boolean", "required": false }, "lesson_assignment_points_amount": { "default": 0, "description": "Set Number of Points for Assignment", "type": "number", "required": false }, "assignment_upload_limit_extensions": { "default": "", "description": "Allowed File Extensions", "type": "text", "required": false }, "assignment_upload_limit_size": { "default": "", "description": "Allowed File Size", "type": "text", "required": false }, "visible_after": { "default": 0, "description": "Make Lesson visible X Days After Sign-up", "type": "number", "required": false }, "visible_after_specific_date": { "description": "Make Lesson Visible on Specific Date", "type": "wp_date_selector", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v1\/sfwd-lessons" } ] } }, "\/ldlms\/v1\/sfwd-lessons\/(?P[\\d]+)": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_lesson_category": { "description": "The terms assigned to the post in the ld_lesson_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_lesson_tag": { "description": "The terms assigned to the post in the ld_lesson_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "lesson_materials": { "description": "Lesson Materials", "type": "html", "required": false }, "forced_lesson_time": { "description": "Forced Lesson Timer", "type": "text", "required": false }, "lesson_assignment_upload": { "description": "Upload Assignment", "type": "boolean", "required": false }, "auto_approve_assignment": { "description": "Auto Approve Assignment", "type": "boolean", "required": false }, "assignment_upload_limit_count": { "description": "Limit number of uploaded files", "type": "number", "required": false }, "lesson_assignment_deletion_enabled": { "description": "Allow Student to Delete own Assignment(s)", "type": "boolean", "required": false }, "lesson_assignment_points_enabled": { "description": "Award Points for Assignment", "type": "boolean", "required": false }, "lesson_assignment_points_amount": { "description": "Set Number of Points for Assignment", "type": "number", "required": false }, "assignment_upload_limit_extensions": { "description": "Allowed File Extensions", "type": "text", "required": false }, "assignment_upload_limit_size": { "description": "Allowed File Size", "type": "text", "required": false }, "visible_after": { "description": "Make Lesson visible X Days After Sign-up", "type": "number", "required": false }, "visible_after_specific_date": { "description": "Make Lesson Visible on Specific Date", "type": "wp_date_selector", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wp\/v2\/sfwd-topic": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": [] }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": [] }, { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "ld_topic_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_topic_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_topic_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_topic_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_topic_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_topic_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_topic_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_topic_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "course": { "description": "Limit results to be within a specific Course. Required for non-admin users.", "type": "integer", "required": false }, "lesson": { "description": "Limit results to be within a specific Lesson. Must be used with Course parameter.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_topic_category": { "description": "The terms assigned to the post in the ld_topic_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_topic_tag": { "description": "The terms assigned to the post in the ld_topic_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "topic_materials": { "description": "Topic Materials", "type": "html", "required": false }, "forced_lesson_time": { "default": "", "description": "Forced Topic Timer", "type": "text", "required": false }, "lesson_assignment_upload": { "default": 0, "description": "Upload Assignment", "type": "boolean", "required": false }, "auto_approve_assignment": { "default": "on", "description": "Auto Approve Assignment", "type": "boolean", "required": false }, "assignment_upload_limit_count": { "default": "1", "description": "Limit number of uploaded files", "type": "number", "required": false }, "lesson_assignment_points_enabled": { "default": 0, "description": "Award Points for Assignment", "type": "boolean", "required": false }, "lesson_assignment_points_amount": { "default": 0, "description": "Set Number of Points for Assignment", "type": "number", "required": false }, "assignment_upload_limit_extensions": { "default": "", "description": "Allowed File Extensions", "type": "text", "required": false }, "assignment_upload_limit_size": { "default": "", "description": "Allowed File Size", "type": "text", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/sfwd-topic" } ] } }, "\/wp\/v2\/sfwd-topic\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_topic_category": { "description": "The terms assigned to the post in the ld_topic_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_topic_tag": { "description": "The terms assigned to the post in the ld_topic_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } }, { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Passordet for innlegget dersom det er passordbeskytta.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_topic_category": { "description": "The terms assigned to the post in the ld_topic_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_topic_tag": { "description": "The terms assigned to the post in the ld_topic_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "topic_materials": { "description": "Topic Materials", "type": "html", "required": false }, "forced_lesson_time": { "description": "Forced Topic Timer", "type": "text", "required": false }, "lesson_assignment_upload": { "description": "Upload Assignment", "type": "boolean", "required": false }, "auto_approve_assignment": { "description": "Auto Approve Assignment", "type": "boolean", "required": false }, "assignment_upload_limit_count": { "description": "Limit number of uploaded files", "type": "number", "required": false }, "lesson_assignment_points_enabled": { "description": "Award Points for Assignment", "type": "boolean", "required": false }, "lesson_assignment_points_amount": { "description": "Set Number of Points for Assignment", "type": "number", "required": false }, "assignment_upload_limit_extensions": { "description": "Allowed File Extensions", "type": "text", "required": false }, "assignment_upload_limit_size": { "description": "Allowed File Size", "type": "text", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/ldlms\/v1\/sfwd-topic": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "ld_topic_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_topic_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_topic_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_topic_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_topic_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_topic_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_topic_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_topic_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "course": { "description": "Limit results to be within a specific Course. Required for non-admin users.", "type": "integer", "required": false }, "lesson": { "description": "Limit results to be within a specific Lesson. Must be used with Course parameter.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_topic_category": { "description": "The terms assigned to the post in the ld_topic_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_topic_tag": { "description": "The terms assigned to the post in the ld_topic_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "topic_materials": { "description": "Topic Materials", "type": "html", "required": false }, "forced_lesson_time": { "default": "", "description": "Forced Topic Timer", "type": "text", "required": false }, "lesson_assignment_upload": { "default": 0, "description": "Upload Assignment", "type": "boolean", "required": false }, "auto_approve_assignment": { "default": "on", "description": "Auto Approve Assignment", "type": "boolean", "required": false }, "assignment_upload_limit_count": { "default": "1", "description": "Limit number of uploaded files", "type": "number", "required": false }, "lesson_assignment_points_enabled": { "default": 0, "description": "Award Points for Assignment", "type": "boolean", "required": false }, "lesson_assignment_points_amount": { "default": 0, "description": "Set Number of Points for Assignment", "type": "number", "required": false }, "assignment_upload_limit_extensions": { "default": "", "description": "Allowed File Extensions", "type": "text", "required": false }, "assignment_upload_limit_size": { "default": "", "description": "Allowed File Size", "type": "text", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v1\/sfwd-topic" } ] } }, "\/ldlms\/v1\/sfwd-topic\/(?P[\\d]+)": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_topic_category": { "description": "The terms assigned to the post in the ld_topic_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_topic_tag": { "description": "The terms assigned to the post in the ld_topic_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "topic_materials": { "description": "Topic Materials", "type": "html", "required": false }, "forced_lesson_time": { "description": "Forced Topic Timer", "type": "text", "required": false }, "lesson_assignment_upload": { "description": "Upload Assignment", "type": "boolean", "required": false }, "auto_approve_assignment": { "description": "Auto Approve Assignment", "type": "boolean", "required": false }, "assignment_upload_limit_count": { "description": "Limit number of uploaded files", "type": "number", "required": false }, "lesson_assignment_points_enabled": { "description": "Award Points for Assignment", "type": "boolean", "required": false }, "lesson_assignment_points_amount": { "description": "Set Number of Points for Assignment", "type": "number", "required": false }, "assignment_upload_limit_extensions": { "description": "Allowed File Extensions", "type": "text", "required": false }, "assignment_upload_limit_size": { "description": "Allowed File Size", "type": "text", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wp\/v2\/sfwd-quiz": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": [] }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": [] }, { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "course": { "description": "Limit results to be within a specific Course. Required for non-admin users.", "type": "integer", "required": false }, "lesson": { "description": "Limit results to be within a specific Lesson. Pass zero to show global Course Quizzes. Must be used with Course parameter.", "type": "integer", "required": false }, "topic": { "description": "Limit results to be within a specific Topic. Must be used with Course parameter.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "quiz_materials": { "description": "Quiz Materials", "type": "html", "required": false }, "threshold": { "default": "0.8", "description": "Certificate Threshold", "type": "text", "required": false }, "passingpercentage": { "default": "80", "description": "Passing Percentage", "type": "text", "required": false }, "certificate": { "default": "", "description": "Associated Certificate", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/sfwd-quiz" } ] } }, "\/wp\/v2\/sfwd-quiz\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "quiz_materials": { "description": "Quiz Materials", "type": "html", "required": false }, "threshold": { "description": "Certificate Threshold", "type": "text", "required": false }, "passingpercentage": { "description": "Passing Percentage", "type": "text", "required": false }, "certificate": { "description": "Associated Certificate", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } }, { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Passordet for innlegget dersom det er passordbeskytta.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "quiz_materials": { "description": "Quiz Materials", "type": "html", "required": false }, "threshold": { "description": "Certificate Threshold", "type": "text", "required": false }, "passingpercentage": { "description": "Passing Percentage", "type": "text", "required": false }, "certificate": { "description": "Associated Certificate", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/ldlms\/v1\/sfwd-quiz": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "course": { "description": "Limit results to be within a specific Course. Required for non-admin users.", "type": "integer", "required": false }, "lesson": { "description": "Limit results to be within a specific Lesson. Pass zero to show global Course Quizzes. Must be used with Course parameter.", "type": "integer", "required": false }, "topic": { "description": "Limit results to be within a specific Topic. Must be used with Course parameter.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "quiz_materials": { "description": "Quiz Materials", "type": "html", "required": false }, "threshold": { "default": "0.8", "description": "Certificate Threshold", "type": "text", "required": false }, "passingpercentage": { "default": "80", "description": "Passing Percentage", "type": "text", "required": false }, "certificate": { "default": "", "description": "Associated Certificate", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v1\/sfwd-quiz" } ] } }, "\/ldlms\/v1\/sfwd-quiz\/(?P[\\d]+)": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the quiz object.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the quiz object.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "quiz_materials": { "description": "Quiz Materials", "type": "html", "required": false }, "threshold": { "description": "Certificate Threshold", "type": "text", "required": false }, "passingpercentage": { "description": "Passing Percentage", "type": "text", "required": false }, "certificate": { "description": "Associated Certificate", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the quiz object.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/ldlms\/v1\/groups": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "ld_group_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_group_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_group_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_group_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_group_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_group_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_group_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_group_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_category": { "description": "The terms assigned to the post in the ld_group_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_tag": { "description": "The terms assigned to the post in the ld_group_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v1\/groups" } ] } }, "\/ldlms\/v1\/groups\/(?P[\\d]+)": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "The password for the post if it is password protected.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": true }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_category": { "description": "The terms assigned to the post in the ld_group_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_tag": { "description": "The terms assigned to the post in the ld_group_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "integer", "required": true }, "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/ldlms\/v1\/groups\/(?P[\\d]+)\/courses": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Group ID to enroll into.", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "fields": { "description": "Returned values.", "type": "string", "default": "ids", "enum": [ "ids", "objects" ], "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Group ID to enroll into.", "type": "integer", "required": true }, "course_ids": { "description": "Course IDs to enroll into group.", "type": "array", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Group ID to enroll into.", "type": "integer", "required": true }, "course_ids": { "description": "Course IDs to remove from group.", "type": "array", "items": { "type": "integer" }, "required": true } } } ] }, "\/ldlms\/v1\/groups\/(?P[\\d]+)\/leaders": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "group ID to enroll group leader into.", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "fields": { "description": "Returned values.", "type": "string", "default": "ids", "enum": [ "ids", "objects" ], "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "roles": { "description": "Avgrens resultatsettet til brukarar som har minst ei av de oppgjevne rollene. Aksepterer CSV-liste eller enkeltrolle.", "type": "array", "items": { "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsettet til brukarar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "group ID to enroll group leader into.", "type": "integer", "required": true }, "user_ids": { "description": "Group Leader User IDs to enroll into Group", "type": "array", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "group ID to enroll group leader into.", "type": "integer", "required": true }, "user_ids": { "description": "Group Leader User IDs to remove from Group", "type": "array", "items": { "type": "integer" }, "required": true } } } ] }, "\/ldlms\/v1\/groups\/(?P[\\d]+)\/users": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "group ID to enroll group leader into.", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "fields": { "description": "Returned values.", "type": "string", "default": "ids", "enum": [ "ids", "objects" ], "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "roles": { "description": "Avgrens resultatsettet til brukarar som har minst ei av de oppgjevne rollene. Aksepterer CSV-liste eller enkeltrolle.", "type": "array", "items": { "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsettet til brukarar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "group ID to enroll group leader into.", "type": "integer", "required": true }, "user_ids": { "description": "User IDs to enroll into Group.", "type": "array", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "group ID to enroll group leader into.", "type": "integer", "required": true }, "user_ids": { "description": "User IDs to remove from Group.", "type": "array", "items": { "type": "integer" }, "required": true } } } ] }, "\/ldlms\/v1\/users\/(?P[\\d]+)\/groups": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "User ID", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "fields": { "description": "Returned values.", "type": "string", "default": "ids", "enum": [ "ids", "objects" ], "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "User ID", "type": "integer", "required": true }, "group_ids": { "description": "Group IDs to add to User.", "type": "array", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "User ID", "type": "integer", "required": true }, "group_ids": { "description": "Group IDs to remove from User.", "type": "array", "items": { "type": "integer" }, "required": true } } } ] }, "\/ldlms\/v1\/users\/(?P[\\d]+)\/courses": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "User ID to enroll user into.", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "fields": { "description": "Returned values.", "type": "string", "default": "ids", "enum": [ "ids", "objects" ], "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "User ID to enroll user into.", "type": "integer", "required": true }, "course_ids": { "description": "Courses IDs to add to User.", "type": "array", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "User ID to enroll user into.", "type": "integer", "required": true }, "course_ids": { "description": "Courses IDs to remove from User.", "type": "array", "items": { "type": "integer" }, "required": true } } } ] }, "\/ldlms\/v1\/sfwd-questions": { "namespace": "ldlms\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v1\/sfwd-questions" } ] } }, "\/ldlms\/v1\/sfwd-questions\/(?P[\\d]+)": { "namespace": "ldlms\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "The question ID", "required": true } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "The question ID", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "The question ID", "required": true } } } ] }, "\/ldlms\/v1\/sections\/(?P[\\d]+)": { "namespace": "ldlms\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "required": true } } } ] }, "\/ldlms\/v2": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "ldlms\/v2", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v2" } ] } }, "\/ldlms\/v2\/sfwd-courses": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "ld_course_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_course_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_course_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_course_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_course_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_course_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_course_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_course_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_course_category": { "description": "The terms assigned to the post in the ld_course_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_course_tag": { "description": "The terms assigned to the post in the ld_course_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "materials_enabled": { "default": false, "description": "Materials Enabled", "type": "boolean", "required": false }, "materials": { "description": "Materials", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "certificate": { "default": 0, "description": "Course Certificate", "type": "integer", "required": false }, "exam_challenge": { "default": 0, "description": "Challenge Exam Show", "type": "integer", "required": false }, "disable_content_table": { "default": false, "description": "Disable Course Content Table", "type": "boolean", "required": false }, "lessons_per_page": { "default": false, "description": "Custom Pagination", "type": "boolean", "required": false }, "lesson_per_page_custom": { "default": 0, "description": "Lessons per page", "type": "integer", "required": false }, "topic_per_page_custom": { "default": 0, "description": "Topics per page", "type": "integer", "required": false }, "price_type": { "default": "open", "description": "Course Price Type", "type": "string", "enum": [ "open", "closed", "free", "paynow", "subscribe" ], "required": false }, "price_type_paynow_price": { "default": "", "description": "Pay Now Course Price", "type": "string", "required": false }, "price_type_paynow_enrollment_url": { "default": "", "description": "Pay Now course Enrollment URL", "type": "string", "required": false }, "price_type_subscribe_price": { "default": "", "description": "Subscribe Course Price", "type": "string", "required": false }, "trial_price": { "default": "", "description": "Course Trial Price", "type": "string", "required": false }, "price_type_subscribe_enrollment_url": { "default": "", "description": "Subscribe course Enrollment URL", "type": "string", "required": false }, "price_type_closed_price": { "default": "", "description": "Closed Course Price", "type": "string", "required": false }, "price_type_closed_custom_button_url": { "default": "", "description": "Closed Course Button URL", "type": "string", "required": false }, "prerequisite_enabled": { "default": false, "description": "Course Prerequisites", "type": "boolean", "required": false }, "prerequisite_compare": { "default": "ANY", "description": "Prerequisite Compare Mode.", "type": "string", "enum": [ "ANY", "ALL" ], "required": false }, "prerequisites": { "default": [], "description": "Prerequisites.", "type": "array", "items": { "type": "integer" }, "required": false }, "points_enabled": { "default": false, "description": "Course Points", "type": "boolean", "required": false }, "points_access": { "default": 0, "description": "Required for Access", "type": "float", "required": false }, "points_amount": { "default": 0, "description": "Awarded on Completion", "type": "float", "required": false }, "expire_access": { "default": false, "description": "Course Access Expiration", "type": "boolean", "required": false }, "expire_access_days": { "description": "Access Period", "type": "integer", "required": false }, "expire_access_delete_progress": { "default": false, "description": "Data Deletion", "type": "boolean", "required": false }, "progression_disabled": { "default": false, "description": "Course Progression Disabled", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v2\/sfwd-courses" } ] } }, "\/ldlms\/v2\/sfwd-courses\/(?P[\\d]+)": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "ld_course_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_course_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_course_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_course_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_course_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_course_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_course_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_course_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_course_category": { "description": "The terms assigned to the post in the ld_course_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_course_tag": { "description": "The terms assigned to the post in the ld_course_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "materials_enabled": { "description": "Materials Enabled", "type": "boolean", "required": false }, "materials": { "description": "Materials", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "certificate": { "description": "Course Certificate", "type": "integer", "required": false }, "exam_challenge": { "description": "Challenge Exam Show", "type": "integer", "required": false }, "disable_content_table": { "description": "Disable Course Content Table", "type": "boolean", "required": false }, "lessons_per_page": { "description": "Custom Pagination", "type": "boolean", "required": false }, "lesson_per_page_custom": { "description": "Lessons per page", "type": "integer", "required": false }, "topic_per_page_custom": { "description": "Topics per page", "type": "integer", "required": false }, "price_type": { "description": "Course Price Type", "type": "string", "enum": [ "open", "closed", "free", "paynow", "subscribe" ], "required": false }, "price_type_paynow_price": { "description": "Pay Now Course Price", "type": "string", "required": false }, "price_type_paynow_enrollment_url": { "description": "Pay Now course Enrollment URL", "type": "string", "required": false }, "price_type_subscribe_price": { "description": "Subscribe Course Price", "type": "string", "required": false }, "trial_price": { "description": "Course Trial Price", "type": "string", "required": false }, "price_type_subscribe_enrollment_url": { "description": "Subscribe course Enrollment URL", "type": "string", "required": false }, "price_type_closed_price": { "description": "Closed Course Price", "type": "string", "required": false }, "price_type_closed_custom_button_url": { "description": "Closed Course Button URL", "type": "string", "required": false }, "prerequisite_enabled": { "description": "Course Prerequisites", "type": "boolean", "required": false }, "prerequisite_compare": { "description": "Prerequisite Compare Mode.", "type": "string", "enum": [ "ANY", "ALL" ], "required": false }, "prerequisites": { "description": "Prerequisites.", "type": "array", "items": { "type": "integer" }, "required": false }, "points_enabled": { "description": "Course Points", "type": "boolean", "required": false }, "points_access": { "description": "Required for Access", "type": "float", "required": false }, "points_amount": { "description": "Awarded on Completion", "type": "float", "required": false }, "expire_access": { "description": "Course Access Expiration", "type": "boolean", "required": false }, "expire_access_days": { "description": "Access Period", "type": "integer", "required": false }, "expire_access_delete_progress": { "description": "Data Deletion", "type": "boolean", "required": false }, "progression_disabled": { "description": "Course Progression Disabled", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/ldlms\/v2\/sfwd-courses\/(?P[\\d]+)\/steps": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Course ID", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "type": { "description": "Filter returned results by step type.", "type": "string", "default": "all", "enum": [ "all", "h", "l", "t", "r", "co", "sections", "legacy" ], "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Course ID", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "type": { "description": "Filter returned results by step type.", "type": "string", "default": "all", "enum": [ "all", "h", "l", "t", "r", "co", "sections", "legacy" ], "required": false } } } ] }, "\/ldlms\/v2\/sfwd-courses\/(?P[\\d]+)\/prerequisites": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Course ID", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "ld_course_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_course_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_course_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_course_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_course_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_course_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_course_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_course_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } } ] }, "\/ldlms\/v2\/sfwd-courses\/(?P[\\d]+)\/users": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Course ID.", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Sort collection by user attribute.", "enum": [ "id", "include", "name", "registered_date", "slug", "include_slugs", "email", "url" ], "type": "string", "required": false }, "slug": { "description": "Avgrens resultatsettet til brukarar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false }, "roles": { "description": "Avgrens resultatsettet til brukarar som har minst ei av de oppgjevne rollene. Aksepterer CSV-liste eller enkeltrolle.", "type": "array", "items": { "type": "string" }, "required": false }, "capabilities": { "description": "Limit result set to users matching at least one specific capability provided. Accepts csv list or single capability.", "type": "array", "items": { "type": "string" }, "required": false }, "who": { "description": "Avgrens resultata til brukarar som er rekna som skribentar.", "type": "string", "enum": [ "authors" ], "required": false }, "has_published_posts": { "description": "Limit result set to users who have published posts.", "type": [ "boolean", "array" ], "items": { "type": "string", "enum": { "post": "post", "page": "page", "attachment": "attachment", "nav_menu_item": "nav_menu_item", "wp_block": "wp_block", "wp_template": "wp_template", "wp_template_part": "wp_template_part", "wp_navigation": "wp_navigation", "wp_font_family": "wp_font_family", "wp_font_face": "wp_font_face", "product": "product", "sfwd-courses": "sfwd-courses", "sfwd-lessons": "sfwd-lessons", "sfwd-topic": "sfwd-topic", "sfwd-quiz": "sfwd-quiz", "sfwd-question": "sfwd-question", "ld-exam": "ld-exam", "groups": "groups", "oceanwp_library": "oceanwp_library", "sfwd-essays": "sfwd-essays", "sfwd-assignment": "sfwd-assignment" } }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Course ID.", "type": "integer", "required": true }, "user_ids": { "description": "User IDs to update in Course. Limit 50 per request.", "type": "array", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Course ID.", "type": "integer", "required": true }, "user_ids": { "description": "User IDs to remove from Course. Limit 50 per request.", "type": "array", "items": { "type": "integer" }, "required": true } } } ] }, "\/ldlms\/v2\/sfwd-courses\/(?P[\\d]+)\/groups": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Course ID", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "ld_group_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_group_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_group_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_group_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_group_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_group_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_group_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_group_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Course ID", "type": "integer", "required": true }, "group_ids": { "description": "Group IDs to enroll into Course.", "type": "array", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Course ID", "type": "integer", "required": true }, "group_ids": { "description": "Group IDs to remove from Course.", "type": "array", "items": { "type": "integer" }, "required": true } } } ] }, "\/ldlms\/v2\/sfwd-lessons": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "ld_lesson_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_lesson_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_lesson_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_lesson_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_lesson_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_lesson_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_lesson_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_lesson_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "course": { "description": "Limit results to be within a specific Course. Required for non-admin users.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_lesson_category": { "description": "The terms assigned to the post in the ld_lesson_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_lesson_tag": { "description": "The terms assigned to the post in the ld_lesson_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "materials_enabled": { "default": false, "description": "Materials Enabled", "type": "boolean", "required": false }, "materials": { "description": "Materials", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "video_enabled": { "default": false, "description": "Lesson Video Progression Enabled", "type": "boolean", "required": false }, "video_url": { "default": "", "description": "Lesson Video Progression URL", "type": "text", "required": false }, "video_shown": { "default": "BEFORE", "description": "Lesson Video Shown before or after sub-steps", "type": "string", "enum": [ "BEFORE", "AFTER" ], "required": false }, "video_auto_complete": { "default": false, "description": "Lesson Video Auto-complete", "type": "boolean", "required": false }, "video_auto_complete_delay": { "default": 0, "description": "Lesson Video Completion Delay (seconds).", "type": "integer", "required": false }, "video_show_complete_button": { "default": false, "description": "Lesson Video Show Mark Complete Button", "type": "boolean", "required": false }, "video_auto_start": { "default": false, "description": "Lesson Video Autostart", "type": "boolean", "required": false }, "video_show_controls": { "default": false, "description": "Lesson Video Controls Display. YouTube and local videos only", "type": "boolean", "required": false }, "video_focus_pause": { "default": false, "description": "Video Pause on Window Unfocused", "type": "boolean", "required": false }, "video_resume": { "default": false, "description": "Video Resume", "type": "boolean", "required": false }, "assignment_upload_enabled": { "default": false, "description": "Lesson Assignment Uploads Enabled", "type": "boolean", "required": false }, "assignment_upload_limit_extensions": { "default": "", "description": "Lesson Assignment Allowed file extensions. Comma separated pdf, xls, zip", "type": "text", "required": false }, "assignment_upload_limit_size": { "default": "", "description": "Lesson Assignment Upload size limit. Max per server is 2048M ", "type": "text", "required": false }, "assignment_points_enabled": { "default": false, "description": "Lesson Assignment Points Enabled", "type": "boolean", "required": false }, "assignment_points_amount": { "default": 0, "description": "Lesson Assignment Points Amount", "type": "integer", "required": false }, "assignment_auto_approve": { "default": true, "description": "Lesson Assignment Auto-approve Enabled", "type": "boolean", "required": false }, "assignment_upload_limit_count": { "default": 0, "description": "Lesson Assignment Upload Count Limit.", "type": "integer", "required": false }, "assignment_deletion_enabled": { "default": false, "description": "Lesson Assignment Allow File Deletion.", "type": "boolean", "required": false }, "forced_timer_enabled": { "default": false, "description": "Lesson Time Enabled", "type": "boolean", "required": false }, "forced_timer_amount": { "default": 0, "description": "Lesson Timer Amount.", "type": "integer", "required": false }, "course": { "default": 0, "description": "Associated Course", "type": "integer", "required": false }, "is_sample": { "default": false, "description": "Sample Lesson", "type": "boolean", "required": false }, "visible_type": { "default": "", "description": "Available Release Schedule", "type": "string", "enum": [ "", "visible_after", "visible_after_specific_date" ], "required": false }, "visible_after": { "default": 0, "description": "Visible After X day(s)", "type": "integer", "required": false }, "visible_after_specific_date": { "default": "", "description": "Visible After Specific Date (YYYY-MM-DD)", "type": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v2\/sfwd-lessons" } ] } }, "\/ldlms\/v2\/sfwd-lessons\/(?P[\\d]+)": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "ld_lesson_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_lesson_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_lesson_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_lesson_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_lesson_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_lesson_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_lesson_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_lesson_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "course": { "description": "Limit results to be within a specific Course. Required for non-admin users.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_lesson_category": { "description": "The terms assigned to the post in the ld_lesson_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_lesson_tag": { "description": "The terms assigned to the post in the ld_lesson_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "materials_enabled": { "description": "Materials Enabled", "type": "boolean", "required": false }, "materials": { "description": "Materials", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "video_enabled": { "description": "Lesson Video Progression Enabled", "type": "boolean", "required": false }, "video_url": { "description": "Lesson Video Progression URL", "type": "text", "required": false }, "video_shown": { "description": "Lesson Video Shown before or after sub-steps", "type": "string", "enum": [ "BEFORE", "AFTER" ], "required": false }, "video_auto_complete": { "description": "Lesson Video Auto-complete", "type": "boolean", "required": false }, "video_auto_complete_delay": { "description": "Lesson Video Completion Delay (seconds).", "type": "integer", "required": false }, "video_show_complete_button": { "description": "Lesson Video Show Mark Complete Button", "type": "boolean", "required": false }, "video_auto_start": { "description": "Lesson Video Autostart", "type": "boolean", "required": false }, "video_show_controls": { "description": "Lesson Video Controls Display. YouTube and local videos only", "type": "boolean", "required": false }, "video_focus_pause": { "description": "Video Pause on Window Unfocused", "type": "boolean", "required": false }, "video_resume": { "description": "Video Resume", "type": "boolean", "required": false }, "assignment_upload_enabled": { "description": "Lesson Assignment Uploads Enabled", "type": "boolean", "required": false }, "assignment_upload_limit_extensions": { "description": "Lesson Assignment Allowed file extensions. Comma separated pdf, xls, zip", "type": "text", "required": false }, "assignment_upload_limit_size": { "description": "Lesson Assignment Upload size limit. Max per server is 2048M ", "type": "text", "required": false }, "assignment_points_enabled": { "description": "Lesson Assignment Points Enabled", "type": "boolean", "required": false }, "assignment_points_amount": { "description": "Lesson Assignment Points Amount", "type": "integer", "required": false }, "assignment_auto_approve": { "description": "Lesson Assignment Auto-approve Enabled", "type": "boolean", "required": false }, "assignment_upload_limit_count": { "description": "Lesson Assignment Upload Count Limit.", "type": "integer", "required": false }, "assignment_deletion_enabled": { "description": "Lesson Assignment Allow File Deletion.", "type": "boolean", "required": false }, "forced_timer_enabled": { "description": "Lesson Time Enabled", "type": "boolean", "required": false }, "forced_timer_amount": { "description": "Lesson Timer Amount.", "type": "integer", "required": false }, "course": { "description": "Associated Course", "type": "integer", "required": false }, "is_sample": { "description": "Sample Lesson", "type": "boolean", "required": false }, "visible_type": { "description": "Available Release Schedule", "type": "string", "enum": [ "", "visible_after", "visible_after_specific_date" ], "required": false }, "visible_after": { "description": "Visible After X day(s)", "type": "integer", "required": false }, "visible_after_specific_date": { "description": "Visible After Specific Date (YYYY-MM-DD)", "type": "date", "required": false } } }, { "methods": [ "DELETE" ], "args": { "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/ldlms\/v2\/sfwd-topic": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "ld_topic_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_topic_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_topic_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_topic_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_topic_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_topic_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_topic_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_topic_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "course": { "description": "Limit results to be within a specific Course. Required for non-admin users.", "type": "integer", "required": false }, "lesson": { "description": "Limit results to be within a specific Lesson. Must be used with Course parameter.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_topic_category": { "description": "The terms assigned to the post in the ld_topic_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_topic_tag": { "description": "The terms assigned to the post in the ld_topic_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "materials_enabled": { "default": false, "description": "Materials Enabled", "type": "boolean", "required": false }, "materials": { "description": "Materials", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "video_enabled": { "default": false, "description": "Topic Video Progression Enabled", "type": "boolean", "required": false }, "video_url": { "default": "", "description": "Topic Video Progression URL", "type": "text", "required": false }, "video_shown": { "default": "BEFORE", "description": "Topic Video Shown before or after sub-steps", "type": "string", "enum": [ "BEFORE", "AFTER" ], "required": false }, "video_auto_complete": { "default": false, "description": "Topic Video Auto-complete", "type": "boolean", "required": false }, "video_auto_complete_delay": { "default": 0, "description": "Topic Video Completion Delay (seconds).", "type": "integer", "required": false }, "video_show_complete_button": { "default": false, "description": "Topic Video Show Mark Complete Button", "type": "boolean", "required": false }, "video_auto_start": { "default": false, "description": "Topic Video Autostart", "type": "boolean", "required": false }, "video_show_controls": { "default": false, "description": "Topic Video Controls Display. YouTube and local videos only", "type": "boolean", "required": false }, "video_focus_pause": { "default": false, "description": "Video Pause on Window Unfocused", "type": "boolean", "required": false }, "video_resume": { "default": false, "description": "Video Resume", "type": "boolean", "required": false }, "assignment_upload_enabled": { "default": false, "description": "Topic Assignment Uploads Enabled", "type": "boolean", "required": false }, "assignment_upload_limit_extensions": { "default": "", "description": "Topic Assignment Allowed file extensions. Comma separated pdf, xls, zip", "type": "text", "required": false }, "assignment_upload_limit_size": { "default": "", "description": "Topic Assignment Upload size limit. Max per server is 2048M ", "type": "text", "required": false }, "assignment_points_enabled": { "default": false, "description": "Topic Assignment Points Enabled", "type": "boolean", "required": false }, "assignment_points_amount": { "default": 0, "description": "Topic Assignment Points Amount", "type": "integer", "required": false }, "assignment_auto_approve": { "default": true, "description": "Topic Assignment Auto-approve Enabled", "type": "boolean", "required": false }, "assignment_upload_limit_count": { "default": 0, "description": "Topic Assignment Upload Count Limit.", "type": "integer", "required": false }, "assignment_deletion_enabled": { "default": false, "description": "Topic Assignment Allow File Deletion.", "type": "boolean", "required": false }, "forced_timer_enabled": { "default": false, "description": "Topic Time Enabled", "type": "boolean", "required": false }, "forced_timer_amount": { "default": 0, "description": "Topic Timer Amount.", "type": "integer", "required": false }, "course": { "default": 0, "description": "Associated Course", "type": "integer", "required": false }, "lesson": { "default": 0, "description": "Associated Lesson", "type": "integer", "required": false }, "visible_type": { "default": "", "description": "Available Release Schedule", "type": "string", "enum": [ "", "visible_after", "visible_after_specific_date" ], "required": false }, "visible_after": { "default": 0, "description": "Visible After X day(s)", "type": "integer", "required": false }, "visible_after_specific_date": { "default": "", "description": "Visible After Specific Date (YYYY-MM-DD)", "type": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v2\/sfwd-topic" } ] } }, "\/ldlms\/v2\/sfwd-topic\/(?P[\\d]+)": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "ld_topic_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_topic_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_topic_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_topic_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_topic_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_topic_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_topic_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_topic_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "course": { "description": "Limit results to be within a specific Course. Required for non-admin users.", "type": "integer", "required": false }, "lesson": { "description": "Limit results to be within a specific Lesson. Must be used with Course parameter.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_topic_category": { "description": "The terms assigned to the post in the ld_topic_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_topic_tag": { "description": "The terms assigned to the post in the ld_topic_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "materials_enabled": { "description": "Materials Enabled", "type": "boolean", "required": false }, "materials": { "description": "Materials", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "video_enabled": { "description": "Topic Video Progression Enabled", "type": "boolean", "required": false }, "video_url": { "description": "Topic Video Progression URL", "type": "text", "required": false }, "video_shown": { "description": "Topic Video Shown before or after sub-steps", "type": "string", "enum": [ "BEFORE", "AFTER" ], "required": false }, "video_auto_complete": { "description": "Topic Video Auto-complete", "type": "boolean", "required": false }, "video_auto_complete_delay": { "description": "Topic Video Completion Delay (seconds).", "type": "integer", "required": false }, "video_show_complete_button": { "description": "Topic Video Show Mark Complete Button", "type": "boolean", "required": false }, "video_auto_start": { "description": "Topic Video Autostart", "type": "boolean", "required": false }, "video_show_controls": { "description": "Topic Video Controls Display. YouTube and local videos only", "type": "boolean", "required": false }, "video_focus_pause": { "description": "Video Pause on Window Unfocused", "type": "boolean", "required": false }, "video_resume": { "description": "Video Resume", "type": "boolean", "required": false }, "assignment_upload_enabled": { "description": "Topic Assignment Uploads Enabled", "type": "boolean", "required": false }, "assignment_upload_limit_extensions": { "description": "Topic Assignment Allowed file extensions. Comma separated pdf, xls, zip", "type": "text", "required": false }, "assignment_upload_limit_size": { "description": "Topic Assignment Upload size limit. Max per server is 2048M ", "type": "text", "required": false }, "assignment_points_enabled": { "description": "Topic Assignment Points Enabled", "type": "boolean", "required": false }, "assignment_points_amount": { "description": "Topic Assignment Points Amount", "type": "integer", "required": false }, "assignment_auto_approve": { "description": "Topic Assignment Auto-approve Enabled", "type": "boolean", "required": false }, "assignment_upload_limit_count": { "description": "Topic Assignment Upload Count Limit.", "type": "integer", "required": false }, "assignment_deletion_enabled": { "description": "Topic Assignment Allow File Deletion.", "type": "boolean", "required": false }, "forced_timer_enabled": { "description": "Topic Time Enabled", "type": "boolean", "required": false }, "forced_timer_amount": { "description": "Topic Timer Amount.", "type": "integer", "required": false }, "course": { "description": "Associated Course", "type": "integer", "required": false }, "lesson": { "description": "Associated Lesson", "type": "integer", "required": false }, "visible_type": { "description": "Available Release Schedule", "type": "string", "enum": [ "", "visible_after", "visible_after_specific_date" ], "required": false }, "visible_after": { "description": "Visible After X day(s)", "type": "integer", "required": false }, "visible_after_specific_date": { "description": "Visible After Specific Date (YYYY-MM-DD)", "type": "date", "required": false } } }, { "methods": [ "DELETE" ], "args": { "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/ldlms\/v2\/sfwd-quiz": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "course": { "description": "Limit results to be within a specific Course. Required for non-admin users.", "type": "integer", "required": false }, "lesson": { "description": "Limit results to be within a specific Lesson. Pass zero to show global Course Quizzes. Must be used with Course parameter.", "type": "integer", "required": false }, "topic": { "description": "Limit results to be within a specific Topic. Must be used with Course parameter.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "course": { "default": 0, "description": "Associated Course", "type": "integer", "required": false }, "lesson": { "default": 0, "description": "Associated Lesson", "type": "integer", "required": false }, "visible_type": { "default": "", "description": "Available Release Schedule", "type": "string", "enum": [ "", "visible_after", "visible_after_specific_date" ], "required": false }, "visible_after": { "default": 0, "description": "Visible After X day(s)", "type": "integer", "required": false }, "visible_after_specific_date": { "default": "", "description": "Visible After Specific Date (YYYY-MM-DD)", "type": "date", "required": false }, "prerequisites": { "default": [], "description": "Quiz Prerequisites", "type": "array", "items": { "type": "integer" }, "required": false }, "registered_users_only": { "default": false, "description": "Allowed Users", "type": "boolean", "required": false }, "passing_percentage": { "default": 0, "description": "Passing Score Percentage", "type": "float", "required": false }, "certificate": { "default": 0, "description": "Quiz Certificate", "type": "integer", "required": false }, "certificate_award_threshold": { "default": 0, "description": "Certificate Awarded for", "type": "float", "required": false }, "quiz_resume": { "default": false, "description": "Enable Quiz Saving", "type": "boolean", "required": false }, "quiz_resume_cookie_send_timer": { "default": 20, "description": "Save cookie data to the server every", "type": "integer", "required": false }, "retry_restrictions_enabled": { "default": false, "description": "Restrict Quiz Retakes", "type": "boolean", "required": false }, "retry_repeats": { "default": "", "description": "Number of repeats allowed. blank is unlimited, 0 is 1 repeats, 1 is 2 repeats, etc.", "type": "string", "required": false }, "answer_all_questions_enabled": { "default": true, "description": "All Questions required to complete", "type": "boolean", "required": false }, "time_limit_enabled": { "default": false, "description": "Time Limit Enabled", "type": "boolean", "required": false }, "time_limit_time": { "default": 0, "description": "Automatically Submit After", "type": "integer", "required": false }, "materials_enabled": { "default": false, "description": "Materials Enabled", "type": "boolean", "required": false }, "materials": { "description": "Materials", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "auto_start": { "default": false, "description": "Autostart", "type": "boolean", "required": false }, "quiz_modus": { "default": "single", "description": "Question Display", "type": "string", "enum": [ "single", "multiple" ], "required": false }, "review_table_enabled": { "default": false, "description": "Question Overview Table", "type": "boolean", "required": false }, "summary_hide": { "default": false, "description": "Quiz Summary", "type": "boolean", "required": false }, "skip_question_disabled": { "default": false, "description": "Skip Question", "type": "boolean", "required": false }, "custom_sorting": { "default": false, "description": "Custom Question Ordering", "type": "boolean", "required": false }, "sort_categories": { "default": false, "description": "Sort by Category", "type": "boolean", "required": false }, "question_random": { "default": false, "description": "Randomize Order", "type": "boolean", "required": false }, "show_max_question": { "default": false, "description": "", "type": "boolean", "required": false }, "show_points": { "default": false, "description": "Point Value", "type": "boolean", "required": false }, "show_category": { "default": false, "description": "Question Category", "type": "boolean", "required": false }, "hide_question_position_overview": { "default": false, "description": "Question Position", "type": "boolean", "required": false }, "hide_question_numbering": { "default": false, "description": "Question Numbering", "type": "boolean", "required": false }, "numbered_answer": { "default": false, "description": "Number Answers", "type": "boolean", "required": false }, "answer_random": { "default": false, "description": "Randomize Answers", "type": "boolean", "required": false }, "title_hidden": { "default": false, "description": "Quiz Title", "type": "boolean", "required": false }, "restart_button_hide": { "default": true, "description": "Restart Quiz button", "type": "boolean", "required": false }, "show_average_result": { "default": true, "description": "Average Score", "type": "boolean", "required": false }, "show_category_score": { "default": true, "description": "Category Score", "type": "boolean", "required": false }, "hide_result_points": { "default": true, "description": "Overall Score", "type": "boolean", "required": false }, "hide_result_correct_question": { "default": true, "description": "No. of Correct Answers", "type": "boolean", "required": false }, "hide_result_quiz_time": { "default": true, "description": "Time Spent", "type": "boolean", "required": false }, "custom_answer_feedback": { "default": true, "description": "Custom Answer Feedback", "type": "boolean", "required": false }, "hide_answer_message_box": { "default": true, "description": "Correct \/ Incorrect Messages", "type": "boolean", "required": false }, "disabled_answer_mark": { "default": true, "description": "Correct \/ Incorrect Answer Marks", "type": "boolean", "required": false }, "view_question_button_hidden": { "default": true, "description": "View Questions Button", "type": "boolean", "required": false }, "toplist_enabled": { "default": false, "description": "Leaderboard", "type": "boolean", "required": false }, "toplist_data_add_permissions": { "default": "1", "description": "Who can apply?", "type": "string", "enum": [ "1", "2", "3" ], "required": false }, "toplist_data_add_multiple": { "default": false, "description": "Multiple Applications per user", "type": "boolean", "required": false }, "toplist_data_add_automatic": { "default": false, "description": "Automatic user entry", "type": "boolean", "required": false }, "toplist_data_show_limit": { "default": 10, "description": "Number of displayed entries", "type": "integer", "required": false }, "toplist_data_sort": { "default": "1", "description": "Sort list by?", "type": "string", "enum": [ "1", "2", "3" ], "required": false }, "toplist_data_showin_enabled": { "default": false, "description": "Display on Quiz results page", "type": "boolean", "required": false }, "statistics_enabled": { "default": true, "description": "Quiz Statistics", "type": "boolean", "required": false }, "view_profile_statistics_enabled": { "default": true, "description": "Front-end Profile Display", "type": "boolean", "required": false }, "statistics_ip_lock_enabled": { "default": false, "description": "Statistics IP-lock", "type": "boolean", "required": false }, "email_enabled": { "default": false, "description": "Email Notifications", "type": "boolean", "required": false }, "email_admin_enabled": { "default": false, "description": "Admin", "type": "boolean", "required": false }, "email_user_enabled": { "default": false, "description": "User", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v2\/sfwd-quiz" } ] } }, "\/ldlms\/v2\/sfwd-quiz\/(?P[\\d]+)": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "course": { "description": "Limit results to be within a specific Course. Required for non-admin users.", "type": "integer", "required": false }, "lesson": { "description": "Limit results to be within a specific Lesson. Pass zero to show global Course Quizzes. Must be used with Course parameter.", "type": "integer", "required": false }, "topic": { "description": "Limit results to be within a specific Topic. Must be used with Course parameter.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "course": { "description": "Associated Course", "type": "integer", "required": false }, "lesson": { "description": "Associated Lesson", "type": "integer", "required": false }, "visible_type": { "description": "Available Release Schedule", "type": "string", "enum": [ "", "visible_after", "visible_after_specific_date" ], "required": false }, "visible_after": { "description": "Visible After X day(s)", "type": "integer", "required": false }, "visible_after_specific_date": { "description": "Visible After Specific Date (YYYY-MM-DD)", "type": "date", "required": false }, "prerequisites": { "description": "Quiz Prerequisites", "type": "array", "items": { "type": "integer" }, "required": false }, "registered_users_only": { "description": "Allowed Users", "type": "boolean", "required": false }, "passing_percentage": { "description": "Passing Score Percentage", "type": "float", "required": false }, "certificate": { "description": "Quiz Certificate", "type": "integer", "required": false }, "certificate_award_threshold": { "description": "Certificate Awarded for", "type": "float", "required": false }, "quiz_resume": { "description": "Enable Quiz Saving", "type": "boolean", "required": false }, "quiz_resume_cookie_send_timer": { "description": "Save cookie data to the server every", "type": "integer", "required": false }, "retry_restrictions_enabled": { "description": "Restrict Quiz Retakes", "type": "boolean", "required": false }, "retry_repeats": { "description": "Number of repeats allowed. blank is unlimited, 0 is 1 repeats, 1 is 2 repeats, etc.", "type": "string", "required": false }, "answer_all_questions_enabled": { "description": "All Questions required to complete", "type": "boolean", "required": false }, "time_limit_enabled": { "description": "Time Limit Enabled", "type": "boolean", "required": false }, "time_limit_time": { "description": "Automatically Submit After", "type": "integer", "required": false }, "materials_enabled": { "description": "Materials Enabled", "type": "boolean", "required": false }, "materials": { "description": "Materials", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "auto_start": { "description": "Autostart", "type": "boolean", "required": false }, "quiz_modus": { "description": "Question Display", "type": "string", "enum": [ "single", "multiple" ], "required": false }, "review_table_enabled": { "description": "Question Overview Table", "type": "boolean", "required": false }, "summary_hide": { "description": "Quiz Summary", "type": "boolean", "required": false }, "skip_question_disabled": { "description": "Skip Question", "type": "boolean", "required": false }, "custom_sorting": { "description": "Custom Question Ordering", "type": "boolean", "required": false }, "sort_categories": { "description": "Sort by Category", "type": "boolean", "required": false }, "question_random": { "description": "Randomize Order", "type": "boolean", "required": false }, "show_max_question": { "description": "", "type": "boolean", "required": false }, "show_points": { "description": "Point Value", "type": "boolean", "required": false }, "show_category": { "description": "Question Category", "type": "boolean", "required": false }, "hide_question_position_overview": { "description": "Question Position", "type": "boolean", "required": false }, "hide_question_numbering": { "description": "Question Numbering", "type": "boolean", "required": false }, "numbered_answer": { "description": "Number Answers", "type": "boolean", "required": false }, "answer_random": { "description": "Randomize Answers", "type": "boolean", "required": false }, "title_hidden": { "description": "Quiz Title", "type": "boolean", "required": false }, "restart_button_hide": { "description": "Restart Quiz button", "type": "boolean", "required": false }, "show_average_result": { "description": "Average Score", "type": "boolean", "required": false }, "show_category_score": { "description": "Category Score", "type": "boolean", "required": false }, "hide_result_points": { "description": "Overall Score", "type": "boolean", "required": false }, "hide_result_correct_question": { "description": "No. of Correct Answers", "type": "boolean", "required": false }, "hide_result_quiz_time": { "description": "Time Spent", "type": "boolean", "required": false }, "custom_answer_feedback": { "description": "Custom Answer Feedback", "type": "boolean", "required": false }, "hide_answer_message_box": { "description": "Correct \/ Incorrect Messages", "type": "boolean", "required": false }, "disabled_answer_mark": { "description": "Correct \/ Incorrect Answer Marks", "type": "boolean", "required": false }, "view_question_button_hidden": { "description": "View Questions Button", "type": "boolean", "required": false }, "toplist_enabled": { "description": "Leaderboard", "type": "boolean", "required": false }, "toplist_data_add_permissions": { "description": "Who can apply?", "type": "string", "enum": [ "1", "2", "3" ], "required": false }, "toplist_data_add_multiple": { "description": "Multiple Applications per user", "type": "boolean", "required": false }, "toplist_data_add_automatic": { "description": "Automatic user entry", "type": "boolean", "required": false }, "toplist_data_show_limit": { "description": "Number of displayed entries", "type": "integer", "required": false }, "toplist_data_sort": { "description": "Sort list by?", "type": "string", "enum": [ "1", "2", "3" ], "required": false }, "toplist_data_showin_enabled": { "description": "Display on Quiz results page", "type": "boolean", "required": false }, "statistics_enabled": { "description": "Quiz Statistics", "type": "boolean", "required": false }, "view_profile_statistics_enabled": { "description": "Front-end Profile Display", "type": "boolean", "required": false }, "statistics_ip_lock_enabled": { "description": "Statistics IP-lock", "type": "boolean", "required": false }, "email_enabled": { "description": "Email Notifications", "type": "boolean", "required": false }, "email_admin_enabled": { "description": "Admin", "type": "boolean", "required": false }, "email_user_enabled": { "description": "User", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/ldlms\/v2\/sfwd-essays": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "any", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "graded", "not_graded" ], "type": "string" }, "required": false }, "course": { "description": "Filter by Course ID", "type": "integer", "required": false }, "lesson": { "description": "Filter by Lesson ID", "type": "integer", "default": 0, "required": false }, "topic": { "description": "Filter by Topic ID", "type": "integer", "default": 0, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v2\/sfwd-essays" } ] } }, "\/ldlms\/v2\/sfwd-essays\/(?P[\\d]+)": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "any", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "graded", "not_graded" ], "type": "string" }, "required": false }, "course": { "description": "Filter by Course ID", "type": "integer", "required": false }, "lesson": { "description": "Filter by Lesson ID", "type": "integer", "default": 0, "required": false }, "topic": { "description": "Filter by Topic ID", "type": "integer", "default": 0, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "course": { "description": "Course ID", "type": "integer", "required": false }, "lesson": { "description": "Lesson ID", "type": "integer", "required": false }, "topic": { "description": "Topic ID", "type": "integer", "required": false }, "points_max": { "description": "Essay Points Maximum", "type": "integer", "required": false }, "points_awarded": { "description": "Essay Points Awarded", "type": "integer", "required": false } } } ] }, "\/ldlms\/v2\/sfwd-question": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "quiz": { "default": "", "description": "Quiz ID.", "type": "integer", "required": false }, "question_type": { "default": "single", "description": "Question type.", "type": "enum", "enum": [ "single", "multiple", "free_answer", "sort_answer", "matrix_sort_answer", "cloze_answer", "assessment_answer", "essay" ], "required": false }, "points_total": { "default": "", "description": "Total Points amount", "type": "integer", "required": false }, "points_per_answer": { "default": "", "description": "Different points for each answer", "type": "boolean", "required": false }, "points_show_in_message": { "default": "", "description": "Show reached points in the correct\/incorrect message?", "type": "boolean", "required": false }, "points_diff_modus": { "default": "", "description": "Different points - modus 2 activate", "type": "boolean", "required": false }, "disable_correct": { "default": "", "description": "Disable answer correct setting.", "type": "boolean", "required": false }, "correct_message": { "description": "Message shown when Question is correct.", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "incorrect_message": { "description": "Message shown when Question is correct.", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "correct_same": { "default": "", "description": "Activate hint for this Question.", "type": "boolean", "required": false }, "hints_enabled": { "default": "", "description": "Activate hint for this Question.", "type": "boolean", "required": false }, "hints_message": { "description": "Hint message.", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "answers": { "description": "Question answer sets.", "type": "object", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v2\/sfwd-question" } ] } }, "\/ldlms\/v2\/sfwd-question\/(?P[\\d]+)": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "quiz": { "description": "Quiz ID.", "type": "integer", "required": false }, "question_type": { "description": "Question type.", "type": "enum", "enum": [ "single", "multiple", "free_answer", "sort_answer", "matrix_sort_answer", "cloze_answer", "assessment_answer", "essay" ], "required": false }, "points_total": { "description": "Total Points amount", "type": "integer", "required": false }, "points_per_answer": { "description": "Different points for each answer", "type": "boolean", "required": false }, "points_show_in_message": { "description": "Show reached points in the correct\/incorrect message?", "type": "boolean", "required": false }, "points_diff_modus": { "description": "Different points - modus 2 activate", "type": "boolean", "required": false }, "disable_correct": { "description": "Disable answer correct setting.", "type": "boolean", "required": false }, "correct_message": { "description": "Message shown when Question is correct.", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "incorrect_message": { "description": "Message shown when Question is correct.", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "correct_same": { "description": "Activate hint for this Question.", "type": "boolean", "required": false }, "hints_enabled": { "description": "Activate hint for this Question.", "type": "boolean", "required": false }, "hints_message": { "description": "Hint message.", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "answers": { "description": "Question answer sets.", "type": "object", "required": false } } }, { "methods": [ "DELETE" ], "args": { "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/ldlms\/v2\/sfwd-assignment": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "any", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "graded", "not_graded" ], "type": "string" }, "required": false }, "course": { "description": "Filter by Course ID", "type": "integer", "required": false }, "lesson": { "description": "Filter by Lesson ID", "type": "integer", "default": 0, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v2\/sfwd-assignment" } ] } }, "\/ldlms\/v2\/sfwd-assignment\/(?P[\\d]+)": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "any", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "graded", "not_graded" ], "type": "string" }, "required": false }, "course": { "description": "Filter by Course ID", "type": "integer", "required": false }, "lesson": { "description": "Filter by Lesson ID", "type": "integer", "default": 0, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "course": { "description": "Course ID", "type": "integer", "required": false }, "lesson": { "description": "Lesson ID", "type": "integer", "required": false }, "topic": { "description": "Topic ID", "type": "integer", "required": false }, "approved_status": { "description": "Assignment Approved Status", "type": "string", "enum": [ "", "approved", "not_approved" ], "required": false }, "points_enabled": { "description": "Assignment Points Enabled", "type": "boolean", "required": false }, "points_max": { "description": "Assignment Points Maximum", "type": "integer", "required": false }, "points_awarded": { "description": "Assignment Points Awarded", "type": "integer", "required": false } } } ] }, "\/ldlms\/v2\/groups": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "ld_group_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_group_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_group_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_group_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_group_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_group_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_group_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_group_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_category": { "description": "The terms assigned to the post in the ld_group_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_tag": { "description": "The terms assigned to the post in the ld_group_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "materials_enabled": { "default": false, "description": "Materials Enabled", "type": "boolean", "required": false }, "materials": { "description": "Materials", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "certificate": { "default": 0, "description": "Group Certificate", "type": "integer", "required": false }, "disable_content_table": { "default": false, "description": "Group Content", "type": "boolean", "required": false }, "courses_per_page_custom": { "default": 0, "description": "Courses per page", "type": "integer", "required": false }, "courses_orderby": { "default": "", "description": "Sort By", "type": "string", "required": false }, "courses_order": { "default": "", "description": "Order Direction", "type": "string", "required": false }, "price_type": { "default": "closed", "description": "Group Price Type", "type": "string", "enum": [ "closed", "free", "paynow", "subscribe" ], "required": false }, "price_type_paynow_price": { "default": "", "description": "Pay Now Group Price", "type": "string", "required": false }, "group_price_type_paynow_enrollment_url": { "default": "", "description": "Pay Now group Enrollment URL", "type": "string", "required": false }, "price_type_subscribe_price": { "default": "", "description": "Subscribe Group Price", "type": "string", "required": false }, "trial_price": { "default": "", "description": "Group Trial Price", "type": "string", "required": false }, "group_price_type_subscribe_enrollment_url": { "default": "", "description": "Pay Now group Enrollment URL", "type": "string", "required": false }, "price_type_closed_price": { "default": "", "description": "Closed Group Price", "type": "string", "required": false }, "price_type_closed_custom_button_url": { "default": "", "description": "Closed Group Button URL", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v2\/groups" } ] } }, "\/ldlms\/v2\/groups\/(?P[\\d]+)": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "ld_group_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_group_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_group_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_group_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_group_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_group_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_group_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_group_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_category": { "description": "The terms assigned to the post in the ld_group_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_tag": { "description": "The terms assigned to the post in the ld_group_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "materials_enabled": { "description": "Materials Enabled", "type": "boolean", "required": false }, "materials": { "description": "Materials", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "certificate": { "description": "Group Certificate", "type": "integer", "required": false }, "disable_content_table": { "description": "Group Content", "type": "boolean", "required": false }, "courses_per_page_custom": { "description": "Courses per page", "type": "integer", "required": false }, "courses_orderby": { "description": "Sort By", "type": "string", "required": false }, "courses_order": { "description": "Order Direction", "type": "string", "required": false }, "price_type": { "description": "Group Price Type", "type": "string", "enum": [ "closed", "free", "paynow", "subscribe" ], "required": false }, "price_type_paynow_price": { "description": "Pay Now Group Price", "type": "string", "required": false }, "group_price_type_paynow_enrollment_url": { "description": "Pay Now group Enrollment URL", "type": "string", "required": false }, "price_type_subscribe_price": { "description": "Subscribe Group Price", "type": "string", "required": false }, "trial_price": { "description": "Group Trial Price", "type": "string", "required": false }, "group_price_type_subscribe_enrollment_url": { "description": "Pay Now group Enrollment URL", "type": "string", "required": false }, "price_type_closed_price": { "description": "Closed Group Price", "type": "string", "required": false }, "price_type_closed_custom_button_url": { "description": "Closed Group Button URL", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/ldlms\/v2\/groups\/(?P[\\d]+)\/courses": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Group ID", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "ld_course_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_course_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_course_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_course_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_course_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_course_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_course_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_course_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Group ID", "type": "integer", "required": true }, "course_ids": { "description": "Course IDs to add to Group.", "type": "array", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Group ID", "type": "integer", "required": true }, "course_ids": { "description": "Course IDs to remove from Group.", "type": "array", "items": { "type": "integer" }, "required": true } } } ] }, "\/ldlms\/v2\/groups\/(?P[\\d]+)\/leaders": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Group ID", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Sort collection by user attribute.", "enum": [ "id", "include", "name", "registered_date", "slug", "include_slugs", "email", "url" ], "type": "string", "required": false }, "slug": { "description": "Avgrens resultatsettet til brukarar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false }, "roles": { "description": "Avgrens resultatsettet til brukarar som har minst ei av de oppgjevne rollene. Aksepterer CSV-liste eller enkeltrolle.", "type": "array", "items": { "type": "string" }, "required": false }, "capabilities": { "description": "Limit result set to users matching at least one specific capability provided. Accepts csv list or single capability.", "type": "array", "items": { "type": "string" }, "required": false }, "who": { "description": "Avgrens resultata til brukarar som er rekna som skribentar.", "type": "string", "enum": [ "authors" ], "required": false }, "has_published_posts": { "description": "Limit result set to users who have published posts.", "type": [ "boolean", "array" ], "items": { "type": "string", "enum": { "post": "post", "page": "page", "attachment": "attachment", "nav_menu_item": "nav_menu_item", "wp_block": "wp_block", "wp_template": "wp_template", "wp_template_part": "wp_template_part", "wp_navigation": "wp_navigation", "wp_font_family": "wp_font_family", "wp_font_face": "wp_font_face", "product": "product", "sfwd-courses": "sfwd-courses", "sfwd-lessons": "sfwd-lessons", "sfwd-topic": "sfwd-topic", "sfwd-quiz": "sfwd-quiz", "sfwd-question": "sfwd-question", "ld-exam": "ld-exam", "groups": "groups", "oceanwp_library": "oceanwp_library", "sfwd-essays": "sfwd-essays", "sfwd-assignment": "sfwd-assignment" } }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Group ID", "type": "integer", "required": true }, "user_ids": { "description": "Group Leader User IDs to enroll into Group", "type": "array", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Group ID", "type": "integer", "required": true }, "user_ids": { "description": "Group Leader User IDs to remove from Group", "type": "array", "items": { "type": "integer" }, "required": true } } } ] }, "\/ldlms\/v2\/groups\/(?P[\\d]+)\/users": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Group ID", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Sort collection by user attribute.", "enum": [ "id", "include", "name", "registered_date", "slug", "include_slugs", "email", "url" ], "type": "string", "required": false }, "slug": { "description": "Avgrens resultatsettet til brukarar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false }, "roles": { "description": "Avgrens resultatsettet til brukarar som har minst ei av de oppgjevne rollene. Aksepterer CSV-liste eller enkeltrolle.", "type": "array", "items": { "type": "string" }, "required": false }, "capabilities": { "description": "Limit result set to users matching at least one specific capability provided. Accepts csv list or single capability.", "type": "array", "items": { "type": "string" }, "required": false }, "who": { "description": "Avgrens resultata til brukarar som er rekna som skribentar.", "type": "string", "enum": [ "authors" ], "required": false }, "has_published_posts": { "description": "Limit result set to users who have published posts.", "type": [ "boolean", "array" ], "items": { "type": "string", "enum": { "post": "post", "page": "page", "attachment": "attachment", "nav_menu_item": "nav_menu_item", "wp_block": "wp_block", "wp_template": "wp_template", "wp_template_part": "wp_template_part", "wp_navigation": "wp_navigation", "wp_font_family": "wp_font_family", "wp_font_face": "wp_font_face", "product": "product", "sfwd-courses": "sfwd-courses", "sfwd-lessons": "sfwd-lessons", "sfwd-topic": "sfwd-topic", "sfwd-quiz": "sfwd-quiz", "sfwd-question": "sfwd-question", "ld-exam": "ld-exam", "groups": "groups", "oceanwp_library": "oceanwp_library", "sfwd-essays": "sfwd-essays", "sfwd-assignment": "sfwd-assignment" } }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Group ID", "type": "integer", "required": true }, "user_ids": { "description": "User IDs to enroll into Group.", "type": "array", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Group ID", "type": "integer", "required": true }, "user_ids": { "description": "User IDs to remove from Group.", "type": "array", "items": { "type": "integer" }, "required": true } } } ] }, "\/ldlms\/v2\/users\/(?P[\\d]+)\/courses": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "User ID", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "ld_course_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_course_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_course_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_course_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_course_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_course_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_course_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_course_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "User ID", "type": "integer", "required": true }, "course_ids": { "description": "Course IDs to add to User.", "type": "array", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "User ID", "type": "integer", "required": true }, "course_ids": { "description": "Course IDs to remove from User.", "type": "array", "items": { "type": "integer" }, "required": true } } } ] }, "\/ldlms\/v2\/users\/(?P[\\d]+)\/groups": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "User ID", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "title", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "ld_group_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_group_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_group_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_group_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "ld_group_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien ld_group_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "ld_group_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien ld_group_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "User ID", "type": "integer", "required": true }, "group_ids": { "description": "Group IDs to add to User.", "type": "array", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "User ID", "type": "integer", "required": true }, "group_ids": { "description": "Group IDs to remove from User.", "type": "array", "items": { "type": "integer" }, "required": true } } } ] }, "\/ldlms\/v2\/users\/(?P[\\d]+)\/course-progress": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "User ID", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false } } } ] }, "\/ldlms\/v2\/users\/(?P[\\d]+)\/course-progress\/(?P[\\d]+)": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "User ID", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false } } } ] }, "\/ldlms\/v2\/users\/(?P[\\d]+)\/course-progress\/(?P[\\d]+)\/steps": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "User ID", "type": "integer", "required": true }, "course": { "description": "Unique Course identifier for the object.", "type": "integer", "required": true } } } ] }, "\/ldlms\/v2\/users\/(?P[\\d]+)\/quiz-progress": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "User ID", "type": "integer", "required": true }, "quiz": { "description": "Limit results to be within a specific Quiz. Required for non-admin users.", "type": "integer", "required": false }, "course": { "description": "Limit results to be within a specific Course. Required for non-admin users.", "type": "integer", "required": false }, "lesson": { "description": "Limit results to be within a specific Lesson. Pass zero to show global Course Quizzes. Must be used with Course parameter.", "type": "integer", "required": false }, "topic": { "description": "Limit results to be within a specific Topic. Must be used with Course parameter.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "orderby": { "default": "taken", "enum": [ "taken", "title", "id", "date" ], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false } } } ] }, "\/ldlms\/v2\/sfwd-quiz\/(?P[\\d]+)\/statistics": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "quiz": { "description": "Filter by Quiz ID", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "quiz", "user" ], "required": false }, "user": { "description": "Filter by User ID", "type": "integer", "required": false }, "after": { "description": "Limit response items after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to items before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false } } } ] }, "\/ldlms\/v2\/sfwd-quiz\/(?P[\\d]+)\/statistics\/(?P[\\d]+)": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "quiz": { "description": "Unique Quiz identifier for the object.", "type": "integer", "required": true } } } ] }, "\/ldlms\/v2\/sfwd-quiz\/(?P[\\d]+)\/statistics\/(?P[\\d]+)\/questions": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "quiz": { "description": "Unique Quiz identifier for the object.", "type": "integer", "required": true }, "statistic": { "description": "Unique Quiz Statistic identifier for the object.", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ] }, "\/ldlms\/v2\/sfwd-quiz\/(?P[\\d]+)\/statistics\/(?P[\\d]+)\/questions\/(?P[\\w-]+)": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "quiz": { "description": "Unique Quiz identifier for the object.", "type": "integer", "required": true }, "statistic": { "description": "Unique Quiz Statistic identifier for the object.", "type": "integer", "required": true }, "id": { "description": "Unique Quiz Statistic Question identifier for the object.", "type": "text", "required": true } } } ] }, "\/ldlms\/v2\/sfwd-quiz\/(?P[\\d]+)\/form-entries": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed" ], "default": "view", "required": false }, "user": { "description": "User ID", "type": "integer", "default": 0, "required": false }, "quiz": { "description": "Quiz ID", "type": "integer", "default": 0, "required": false }, "order": { "description": "Order", "type": "string", "default": "DESC", "enum": [ "ASC", "DESC" ], "required": false }, "orderby": { "description": "Order by", "type": "string", "default": "date", "enum": [ "date" ], "required": false } } } ] }, "\/ldlms\/v2\/echo": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v2\/echo" } ] } }, "\/ldlms\/v2\/price-types": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v2\/price-types" } ] } }, "\/ldlms\/v2\/price-types\/(?P[\\w-]+)": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "An alphanumeric identifier for the price type.", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed" ], "default": "view", "required": false } } } ] }, "\/ldlms\/v2\/question-types": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v2\/question-types" } ] } }, "\/ldlms\/v2\/question-types\/(?P[\\w-]+)": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "An alphanumeric identifier for the type", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed" ], "default": "view", "required": false } } } ] }, "\/ldlms\/v2\/progress-status": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v2\/progress-status" } ] } }, "\/ldlms\/v2\/progress-status\/(?P[\\w-]+)": { "namespace": "ldlms\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "An alphanumeric identifier for the progress status.", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed" ], "default": "view", "required": false } } } ] }, "\/ldlms\/v2\/exams": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ldlms\/v2\/exams" } ] } }, "\/ldlms\/v2\/exams\/(?P[\\d]+)": { "namespace": "ldlms\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "force": { "type": "boolean", "default": false, "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/jetpack\/v4": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "jetpack\/v4", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/jetpack\/v4" } ] } }, "\/jetpack\/v4\/verify_xmlrpc_error": { "namespace": "jetpack\/v4", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "nonce": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/jetpack\/v4\/verify_xmlrpc_error" } ] } }, "\/jetpack\/v4\/verify_registration": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/jetpack\/v4\/verify_registration" } ] } }, "\/jetpack\/v4\/remote_authorize": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/jetpack\/v4\/remote_authorize" } ] } }, "\/jetpack\/v4\/connection": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "isActive": { "description": "Set to false will trigger the site to disconnect.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/jetpack\/v4\/connection" } ] } }, "\/jetpack\/v4\/connection\/data": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/jetpack\/v4\/connection\/data" } ] } }, "\/jetpack\/v4\/connection\/plugins": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/jetpack\/v4\/connection\/plugins" } ] } }, "\/jetpack\/v4\/connection\/reconnect": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/jetpack\/v4\/connection\/reconnect" } ] } }, "\/jetpack\/v4\/connection\/register": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "from": { "description": "Indicates where the registration action was triggered for tracking\/segmentation purposes", "type": "string", "required": false }, "registration_nonce": { "description": "The registration nonce", "type": "string", "required": true }, "redirect_uri": { "description": "URI of the admin page where the user should be redirected after connection flow", "type": "string", "required": false }, "plugin_slug": { "description": "Indicates from what plugin the request is coming from", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/jetpack\/v4\/connection\/register" } ] } }, "\/jetpack\/v4\/connection\/authorize_url": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "redirect_uri": { "description": "URI of the admin page where the user should be redirected after connection flow", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/jetpack\/v4\/connection\/authorize_url" } ] } }, "\/jetpack\/v4\/user-token": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "user_token": { "description": "New user token", "type": "string", "required": true }, "is_connection_owner": { "description": "Is connection owner", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/jetpack\/v4\/user-token" } ] } }, "\/jetpack\/v4\/connection\/owner": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "owner": { "description": "New owner", "type": "integer", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/jetpack\/v4\/connection\/owner" } ] } }, "\/elementor\/v1": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementor\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1" } ] } }, "\/elementor\/v1\/site-editor": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/site-editor" } ] } }, "\/elementor\/v1\/site-editor\/templates": { "namespace": "elementor\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/site-editor\/templates" } ] } }, "\/elementor\/v1\/site-editor\/templates\/(?P[\\w]+)": { "namespace": "elementor\/v1", "methods": [ "DELETE", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": false } } } ] }, "\/elementor\/v1\/site-editor\/conditions-config": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/site-editor\/conditions-config" } ] } }, "\/elementor\/v1\/site-editor\/templates-conditions\/(?P[\\w]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": false } } } ] }, "\/elementor\/v1\/site-editor\/templates-conditions-conflicts": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/site-editor\/templates-conditions-conflicts" } ] } }, "\/wc\/v3\/wc_stripe\/connection_tokens": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/wc_stripe\/connection_tokens" } ] } }, "\/wc\/v3\/wc_stripe\/terminal\/locations": { "namespace": "wc\/v3", "methods": [ "POST", "GET" ], "endpoints": [ { "methods": [ "POST" ], "args": { "display_name": { "type": "string", "required": true }, "address": { "type": "object", "required": true } } }, { "methods": [ "GET" ], "args": { "ending_before": { "type": "string", "required": false }, "limit": { "type": "integer", "required": false }, "starting_after": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/wc_stripe\/terminal\/locations" } ] } }, "\/wc\/v3\/wc_stripe\/terminal\/locations\/store": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/wc_stripe\/terminal\/locations\/store" } ] } }, "\/wc\/v3\/wc_stripe\/terminal\/locations\/(?P\\w+)": { "namespace": "wc\/v3", "methods": [ "DELETE", "GET", "POST" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] }, { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "display_name": { "type": "string", "required": false }, "address": { "type": "object", "required": false } } } ] }, "\/wc\/v3\/wc_stripe\/orders\/(?P\\d+)\/create_customer": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ] }, "\/wc\/v3\/wc_stripe\/orders\/(?P\\w+)\/capture_terminal_payment": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "payment_intent_id": { "required": true } } } ] }, "\/wc\/v3\/wc_stripe\/tokens\/(?P[a-z]{3}_[a-zA-Z0-9]{24})": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc\/v1": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1" } ] } }, "\/wc\/v1\/connect\/stripe\/oauth\/init": { "namespace": "wc\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/connect\/stripe\/oauth\/init" } ] } }, "\/wc\/v1\/connect\/stripe\/oauth\/connect": { "namespace": "wc\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/connect\/stripe\/oauth\/connect" } ] } }, "\/wc\/v3\/wc_stripe\/account": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/wc_stripe\/account" } ] } }, "\/wc\/v3\/wc_stripe\/account\/summary": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/wc_stripe\/account\/summary" } ] } }, "\/wc\/v3\/wc_stripe\/account\/webhook-status-message": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/wc_stripe\/account\/webhook-status-message" } ] } }, "\/wc\/v3\/wc_stripe\/account\/refresh": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/wc_stripe\/account\/refresh" } ] } }, "\/wc\/v3\/wc_stripe\/upe_flag_toggle": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "is_upe_enabled": { "description": "Determines if the UPE feature flag is enabled.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/wc_stripe\/upe_flag_toggle" } ] } }, "\/wc\/v3\/wc_stripe\/settings": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "is_stripe_enabled": { "description": "If Stripe should be enabled.", "type": "boolean", "required": false }, "is_test_mode_enabled": { "description": "Stripe test mode setting.", "type": "boolean", "required": false }, "enabled_payment_method_ids": { "description": "Payment method IDs that should be enabled. Other methods will be disabled.", "type": "array", "items": { "type": "string", "enum": [ "card", "alipay", "giropay", "eps", "bancontact", "boleto", "ideal", "oxxo", "sepa_debit", "p24", "link", "multibanco", "card", "alipay", "bancontact", "boleto", "eps", "giropay", "ideal", "multibanco", "oxxo", "p24", "sepa" ] }, "required": false }, "individual_payment_method_settings": { "description": "Individual payment method settings.", "type": "object", "items": { "type": "object" }, "required": false }, "is_payment_request_enabled": { "description": "If Stripe express checkouts should be enabled.", "type": "boolean", "required": false }, "payment_request_button_type": { "description": "Express checkout button types.", "type": "string", "enum": [ "default", "buy", "donate", "book" ], "required": false }, "payment_request_button_theme": { "description": "Express checkout button themes.", "type": "string", "enum": [ "dark", "light", "light-outline" ], "required": false }, "payment_request_button_size": { "description": "Express checkout button sizes.", "type": "string", "enum": [ "small", "default", "large" ], "required": false }, "payment_request_button_locations": { "description": "Express checkout locations that should be enabled.", "type": "array", "items": { "type": "string", "enum": [ "product", "cart", "checkout" ] }, "required": false }, "is_manual_capture_enabled": { "description": "If manual capture of charges should be enabled.", "type": "boolean", "required": false }, "is_saved_cards_enabled": { "description": "If \"Saved cards\" should be enabled.", "type": "boolean", "required": false }, "is_separate_card_form_enabled": { "description": "If credit card number field, expiry date field, and CVC field should be separate.", "type": "boolean", "required": false }, "is_short_statement_descriptor_enabled": { "description": "When enabled, we'll include the order number for card and express checkout transactions.", "type": "boolean", "required": false }, "is_debug_log_enabled": { "description": "When enabled, payment error logs will be saved to WooCommerce > Status > Logs.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/wc_stripe\/settings" } ] } }, "\/wc\/v3\/wc_stripe\/settings\/payment_method_order": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "ordered_payment_method_ids": { "description": "The order for the payment method IDs to be saved.", "type": "array", "items": { "type": "string", "enum": [ "card", "alipay", "bancontact", "boleto", "eps", "giropay", "ideal", "multibanco", "oxxo", "p24", "sepa" ] }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/wc_stripe\/settings\/payment_method_order" } ] } }, "\/wc\/v3\/wc_stripe\/settings\/payment_method": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "payment_method": { "description": "Payment method id.", "type": "string", "enum": [ "card", "alipay", "bancontact", "boleto", "eps", "giropay", "ideal", "multibanco", "oxxo", "p24", "sepa" ], "required": false }, "is_enabled": { "description": "If payment method should be enabled.", "type": "boolean", "required": false }, "title": { "description": "Payment method title.", "type": "string", "required": false }, "description": { "description": "Payment method description.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/wc_stripe\/settings\/payment_method" } ] } }, "\/wc\/v3\/wc_stripe\/settings\/notice": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/wc_stripe\/settings\/notice" } ] } }, "\/wc\/v3\/wc_stripe\/account_keys": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "publishable_key": { "description": "Your Stripe API Publishable key, obtained from your Stripe dashboard.", "type": "string", "required": false }, "secret_key": { "description": "Your Stripe API Secret, obtained from your Stripe dashboard.", "type": "string", "required": false }, "webhook_secret": { "description": "Your Stripe webhook endpoint URL, obtained from your Stripe dashboard.", "type": "string", "required": false }, "test_publishable_key": { "description": "Your Stripe testing API Publishable key, obtained from your Stripe dashboard.", "type": "string", "required": false }, "test_secret_key": { "description": "Your Stripe testing API Secret, obtained from your Stripe dashboard.", "type": "string", "required": false }, "test_webhook_secret": { "description": "Your Stripe testing webhook endpoint URL, obtained from your Stripe dashboard.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/wc_stripe\/account_keys" } ] } }, "\/wc\/v3\/wc_stripe\/account_keys\/test": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "publishable_key": { "description": "Your Stripe API Publishable key, obtained from your Stripe dashboard.", "type": "string", "required": false }, "secret_key": { "description": "Your Stripe API Secret, obtained from your Stripe dashboard.", "type": "string", "required": false }, "test_publishable_key": { "description": "Your Stripe testing API Publishable key, obtained from your Stripe dashboard.", "type": "string", "required": false }, "test_secret_key": { "description": "Your Stripe testing API Secret, obtained from your Stripe dashboard.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/wc_stripe\/account_keys\/test" } ] } }, "\/wc-admin": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-admin", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin" } ] } }, "\/wc-admin\/features": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/features" } ] } }, "\/wc-analytics": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-analytics", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics" } ] } }, "\/wc-analytics\/admin\/notes": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "note_id", "date", "type", "title", "status" ], "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "type": { "description": "Type of note.", "type": "array", "items": { "enum": [ "error", "warning", "update", "info", "marketing", "survey", "email" ], "type": "string" }, "required": false }, "status": { "description": "Status of note.", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false }, "source": { "description": "Source of note.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/admin\/notes" } ] } }, "\/wc-analytics\/admin\/notes\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique ID for the resource.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique ID for the resource.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/admin\/notes\/delete\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] } ] }, "\/wc-analytics\/admin\/notes\/delete\/all": { "namespace": "wc-analytics", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "status": { "description": "Status of note.", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/admin\/notes\/delete\/all" } ] } }, "\/wc-analytics\/admin\/notes\/tracker\/(?P[\\d-]+)\/user\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-analytics\/admin\/notes\/update": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/admin\/notes\/update" } ] } }, "\/wc-analytics\/admin\/notes\/experimental-activate-promo\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-analytics\/admin\/notes\/(?P[\\d-]+)\/action\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "note_id": { "description": "Unique ID for the Note.", "type": "integer", "required": false }, "action_id": { "description": "Unique ID for the Note Action.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/coupons": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to coupons with codes matching a given string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Limit result set to resources with a specific code.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Coupon code.", "type": "string", "required": true }, "amount": { "description": "The amount of discount. Should always be numeric, even if setting a percentage.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determines the type of discount that will be applied.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Coupon description.", "type": "string", "required": false }, "date_expires": { "description": "The date the coupon expires, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "The date the coupon expires, as GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.", "type": "boolean", "required": false }, "product_ids": { "description": "List of product IDs the coupon can be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "List of product IDs the coupon cannot be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "How many times the coupon can be used in total.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "How many times the coupon can be used per customer.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Max number of items in the cart the coupon can be applied to.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "If true and if the free shipping method requires a coupon, this coupon will enable free shipping.", "type": "boolean", "required": false }, "product_categories": { "description": "List of category IDs the coupon applies to.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "List of category IDs the coupon does not apply to.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "If true, this coupon will not be applied to items that have sale prices.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimum order amount that needs to be in the cart before coupon applies.", "type": "string", "required": false }, "maximum_amount": { "description": "Maximum order amount allowed when using the coupon.", "type": "string", "required": false }, "email_restrictions": { "description": "List of email addresses that can use this coupon.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/coupons" } ] } }, "\/wc-analytics\/coupons\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "code": { "description": "Coupon code.", "type": "string", "required": false }, "amount": { "description": "The amount of discount. Should always be numeric, even if setting a percentage.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "description": "Determines the type of discount that will be applied.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Coupon description.", "type": "string", "required": false }, "date_expires": { "description": "The date the coupon expires, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "The date the coupon expires, as GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.", "type": "boolean", "required": false }, "product_ids": { "description": "List of product IDs the coupon can be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "List of product IDs the coupon cannot be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "How many times the coupon can be used in total.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "How many times the coupon can be used per customer.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Max number of items in the cart the coupon can be applied to.", "type": "integer", "required": false }, "free_shipping": { "description": "If true and if the free shipping method requires a coupon, this coupon will enable free shipping.", "type": "boolean", "required": false }, "product_categories": { "description": "List of category IDs the coupon applies to.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "List of category IDs the coupon does not apply to.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "If true, this coupon will not be applied to items that have sale prices.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimum order amount that needs to be in the cart before coupon applies.", "type": "string", "required": false }, "maximum_amount": { "description": "Maximum order amount allowed when using the coupon.", "type": "string", "required": false }, "email_restrictions": { "description": "List of email addresses that can use this coupon.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc-analytics\/coupons\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Coupon code.", "type": "string", "required": false }, "amount": { "description": "The amount of discount. Should always be numeric, even if setting a percentage.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "description": "Determines the type of discount that will be applied.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Coupon description.", "type": "string", "required": false }, "date_expires": { "description": "The date the coupon expires, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "The date the coupon expires, as GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.", "type": "boolean", "required": false }, "product_ids": { "description": "List of product IDs the coupon can be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "List of product IDs the coupon cannot be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "How many times the coupon can be used in total.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "How many times the coupon can be used per customer.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Max number of items in the cart the coupon can be applied to.", "type": "integer", "required": false }, "free_shipping": { "description": "If true and if the free shipping method requires a coupon, this coupon will enable free shipping.", "type": "boolean", "required": false }, "product_categories": { "description": "List of category IDs the coupon applies to.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "List of category IDs the coupon does not apply to.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "If true, this coupon will not be applied to items that have sale prices.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimum order amount that needs to be in the cart before coupon applies.", "type": "string", "required": false }, "maximum_amount": { "description": "Maximum order amount allowed when using the coupon.", "type": "string", "required": false }, "email_restrictions": { "description": "List of email addresses that can use this coupon.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/coupons\/batch" } ] } }, "\/wc-analytics\/data": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/data" } ] } }, "\/wc-analytics\/data\/countries\/locales": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/data\/countries\/locales" } ] } }, "\/wc-analytics\/data\/countries": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/data\/countries" } ] } }, "\/wc-analytics\/data\/countries\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "ISO3166 alpha-2 country code.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/data\/download-ips": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/data\/download-ips" } ] } }, "\/wc-admin\/experiments\/assignment": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/experiments\/assignment" } ] } }, "\/wc-admin\/marketing\/recommended": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "category": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/marketing\/recommended" } ] } }, "\/wc-admin\/marketing\/knowledge-base": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "category": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/marketing\/knowledge-base" } ] } }, "\/wc-admin\/marketing\/overview\/activate-plugin": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "plugin": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/marketing\/overview\/activate-plugin" } ] } }, "\/wc-admin\/marketing\/overview\/installed-plugins": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/marketing\/overview\/installed-plugins" } ] } }, "\/wc-admin\/marketing\/recommendations": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "category": { "type": "string", "enum": [ "channels", "extensions" ], "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/marketing\/recommendations" } ] } }, "\/wc-admin\/marketing\/channels": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/marketing\/channels" } ] } }, "\/wc-admin\/marketing\/campaigns": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/marketing\/campaigns" } ] } }, "\/wc-admin\/marketing\/campaign-types": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/marketing\/campaign-types" } ] } }, "\/wc-admin\/notice\/dismiss": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/notice\/dismiss" } ] } }, "\/wc-admin\/options": { "namespace": "wc-admin", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/options" } ] } }, "\/wc-analytics\/orders": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": [ "any" ], "description": "Limit result set to orders which have specific statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ] }, "required": false }, "customer": { "description": "Limit result set to orders assigned a specific customer.", "type": "integer", "required": false }, "product": { "description": "Limit result set to orders assigned a specific product.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Number of decimal points to use in each resource.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Only show meta which is meant to be displayed for an order.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "number": { "description": "Limit result set to orders matching part of an order number.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Order status.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "EUR", "description": "Currency the order was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "User ID who owns the order. 0 for guests.", "type": "integer", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "transaction_id": { "description": "Unique transaction ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Whether the coupon grants free shipping or not.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean", "required": false }, "manual_update": { "default": false, "description": "Set the action as manual so that the order note registers as \"added by user\".", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/orders" } ] } }, "\/wc-analytics\/orders\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "description": "Order status.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Currency the order was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "User ID who owns the order. 0 for guests.", "type": "integer", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "transaction_id": { "description": "Unique transaction ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Whether the coupon grants free shipping or not.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean", "required": false }, "manual_update": { "description": "Set the action as manual so that the order note registers as \"added by user\".", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc-analytics\/orders\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "description": "Order status.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Currency the order was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "User ID who owns the order. 0 for guests.", "type": "integer", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "transaction_id": { "description": "Unique transaction ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Whether the coupon grants free shipping or not.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean", "required": false }, "manual_update": { "description": "Set the action as manual so that the order note registers as \"added by user\".", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/orders\/batch" } ] } }, "\/wc-admin\/payment-gateway-suggestions": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "force_default_suggestions": { "type": "boolean", "description": "Return the default payment suggestions when woocommerce_show_marketplace_suggestions and woocommerce_setting_payments_recommendations_hidden options are set to no", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/payment-gateway-suggestions" } ] } }, "\/wc-admin\/payment-gateway-suggestions\/dismiss": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/payment-gateway-suggestions\/dismiss" } ] } }, "\/wc-analytics\/products": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Search by similar product name or sku.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "popularity", "rating", "menu_order", "price", "popularity", "rating" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limit result set to products with a specific slug.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limit result set to products assigned a specific status.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limit result set to products assigned a specific type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "sku": { "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string", "required": false }, "featured": { "description": "Limit result set to featured products.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a specific category ID.", "type": "string", "required": false }, "tag": { "description": "Limit result set to products assigned a specific tag ID.", "type": "string", "required": false }, "shipping_class": { "description": "Limit result set to products assigned a specific shipping class ID.", "type": "string", "required": false }, "attribute": { "description": "Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.", "type": "string", "required": false }, "attribute_term": { "description": "Limit result set to products with a specific attribute term ID (required an assigned attribute).", "type": "string", "required": false }, "on_sale": { "description": "Limit result set to products on sale.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limit result set to products with specified stock status.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "search_sku": { "description": "Limit results to those with a SKU that partial matches a string.", "type": "string", "required": false }, "low_in_stock": { "description": "Limit result set to products that are low or out of stock. (Deprecated)", "type": "boolean", "default": false, "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Product name.", "type": "string", "required": false }, "slug": { "description": "Product slug.", "type": "string", "required": false }, "date_created": { "description": "The date the product was created, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "The date the product was created, as GMT.", "type": [ "null", "string" ], "required": false }, "type": { "default": "simple", "description": "Product type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "status": { "default": "publish", "description": "Product status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "default": false, "description": "Featured product.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Catalog visibility.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Product description.", "type": "string", "required": false }, "short_description": { "description": "Product short description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Product regular price.", "type": "string", "required": false }, "sale_price": { "description": "Product sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "If the product is virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "If the product is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "external_url": { "description": "Product external URL. Only for external products.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Product external button text. Only for external products.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Stock management at product level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "default": false, "description": "Allow one item to be bought in a single order.", "type": "boolean", "required": false }, "weight": { "description": "Product weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Product dimensions.", "type": "object", "properties": { "length": { "description": "Product length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Product width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Product height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Allow reviews.", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "List of up-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Optional note to send the customer after purchase.", "type": "string", "required": false }, "categories": { "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "List of images.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/products" } ] } }, "\/wc-analytics\/products\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Product name.", "type": "string", "required": false }, "slug": { "description": "Product slug.", "type": "string", "required": false }, "date_created": { "description": "The date the product was created, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "The date the product was created, as GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Product type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "status": { "description": "Product status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Featured product.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Catalog visibility.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Product description.", "type": "string", "required": false }, "short_description": { "description": "Product short description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Product regular price.", "type": "string", "required": false }, "sale_price": { "description": "Product sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "If the product is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the product is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "external_url": { "description": "Product external URL. Only for external products.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Product external button text. Only for external products.", "type": "string", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at product level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Allow one item to be bought in a single order.", "type": "boolean", "required": false }, "weight": { "description": "Product weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Product dimensions.", "type": "object", "properties": { "length": { "description": "Product length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Product width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Product height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "reviews_allowed": { "description": "Allow reviews.", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "List of up-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Optional note to send the customer after purchase.", "type": "string", "required": false }, "categories": { "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "List of images.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "description": "Whether to bypass trash and force deletion.", "type": "boolean", "required": false } } } ] }, "\/wc-analytics\/products\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Product name.", "type": "string", "required": false }, "slug": { "description": "Product slug.", "type": "string", "required": false }, "date_created": { "description": "The date the product was created, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "The date the product was created, as GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Product type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "status": { "description": "Product status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Featured product.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Catalog visibility.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Product description.", "type": "string", "required": false }, "short_description": { "description": "Product short description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Product regular price.", "type": "string", "required": false }, "sale_price": { "description": "Product sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "If the product is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the product is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "external_url": { "description": "Product external URL. Only for external products.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Product external button text. Only for external products.", "type": "string", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at product level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Allow one item to be bought in a single order.", "type": "boolean", "required": false }, "weight": { "description": "Product weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Product dimensions.", "type": "object", "properties": { "length": { "description": "Product length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Product width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Product height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "reviews_allowed": { "description": "Allow reviews.", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "List of up-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Optional note to send the customer after purchase.", "type": "string", "required": false }, "categories": { "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "List of images.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/products\/batch" } ] } }, "\/wc-analytics\/products\/suggested-products": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limit result set to products with a specific slug.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limit result set to products assigned a specific status.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limit result set to products assigned a specific type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "sku": { "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string", "required": false }, "featured": { "description": "Limit result set to featured products.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a specific category ID.", "type": "string", "required": false }, "tag": { "description": "Limit result set to products assigned a specific tag ID.", "type": "string", "required": false }, "shipping_class": { "description": "Limit result set to products assigned a specific shipping class ID.", "type": "string", "required": false }, "attribute": { "description": "Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.", "type": "string", "required": false }, "attribute_term": { "description": "Limit result set to products with a specific attribute term ID (required an assigned attribute).", "type": "string", "required": false }, "in_stock": { "description": "Limit result set to products in stock or out of stock.", "type": "boolean", "required": false }, "on_sale": { "description": "Limit result set to products on sale.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "categories": { "description": "Limit result set to specific product categorie ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tags": { "description": "Limit result set to specific product tag ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "limit": { "description": "Limit result set to specific amount of suggested products.", "type": "integer", "default": 5, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/products\/suggested-products" } ] } }, "\/wc-analytics\/products\/(?P[\\d]+)\/duplicate": { "namespace": "wc-analytics", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Product name.", "type": "string", "required": false }, "slug": { "description": "Product slug.", "type": "string", "required": false }, "date_created": { "description": "The date the product was created, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "The date the product was created, as GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Product type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "status": { "description": "Product status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Featured product.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Catalog visibility.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Product description.", "type": "string", "required": false }, "short_description": { "description": "Product short description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Product regular price.", "type": "string", "required": false }, "sale_price": { "description": "Product sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "If the product is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the product is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "external_url": { "description": "Product external URL. Only for external products.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Product external button text. Only for external products.", "type": "string", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at product level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Allow one item to be bought in a single order.", "type": "boolean", "required": false }, "weight": { "description": "Product weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Product dimensions.", "type": "object", "properties": { "length": { "description": "Product length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Product width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Product height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "reviews_allowed": { "description": "Allow reviews.", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "List of up-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Optional note to send the customer after purchase.", "type": "string", "required": false }, "categories": { "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "List of images.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc-analytics\/products\/attributes": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "search": { "description": "Search by similar attribute name.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Name for the resource.", "type": "string", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "type": { "default": "select", "description": "Type of attribute.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Default sort order.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Enable\/Disable attribute archives.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/products\/attributes" } ] } }, "\/wc-analytics\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Attribute name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "type": { "description": "Type of attribute.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Default sort order.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Enable\/Disable attribute archives.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Attribute name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "type": { "description": "Type of attribute.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Default sort order.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Enable\/Disable attribute archives.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/products\/attributes\/batch" } ] } }, "\/wc-analytics\/products\/attributes\/(?P[a-z0-9_\\-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Slug identifier for the resource.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by resource attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide resources not assigned to any products.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Limit result set to resources assigned to a specific product.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to resources with a specific slug.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Name for the resource.", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "name": { "description": "Term name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "name": { "description": "Term name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/(?P[a-z0-9_\\-]+)\/terms": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Limit result set to resources with a specific slug.", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by resource attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide resources not assigned to any products.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Limit result set to resources assigned to a specific product.", "type": "integer", "default": null, "required": false } } } ] }, "\/wc-analytics\/products\/categories": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by resource attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide resources not assigned to any products.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Limit result set to resources assigned to a specific product.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to resources with a specific slug.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Name for the resource.", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the resource.", "type": "integer", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "display": { "default": "default", "description": "Category archive display type.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/products\/categories" } ] } }, "\/wc-analytics\/products\/categories\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Category name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the resource.", "type": "integer", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "display": { "description": "Category archive display type.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc-analytics\/products\/categories\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Category name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the resource.", "type": "integer", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "display": { "description": "Category archive display type.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/products\/categories\/batch" } ] } }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Search by similar product name, sku, or attribute value.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limit result set to products with a specific slug.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limit result set to products assigned a specific status.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string", "required": false }, "on_sale": { "description": "Limit result set to products on sale.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limit result set to products with specified stock status.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limit result set to products with or without price.", "type": "boolean", "required": false }, "attributes": { "description": "Limit result set to products with specified attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Attribute slug." }, "term": { "type": "string", "description": "Attribute term." }, "terms": { "type": "array", "description": "Attribute terms." } } }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "type": { "default": "variation", "description": "Product type.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Variation description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Variation regular price.", "type": "string", "required": false }, "sale_price": { "description": "Variation sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Variation status.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "If the variation is virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "If the variation is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Stock management at variation level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variation weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "image": { "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Search by similar product name, sku, or attribute value.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limit result set to products with a specific slug.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limit result set to products assigned a specific status.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string", "required": false }, "on_sale": { "description": "Limit result set to products on sale.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limit result set to products with specified stock status.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limit result set to products with or without price.", "type": "boolean", "required": false }, "attributes": { "description": "Limit result set to products with specified attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Attribute slug." }, "term": { "type": "string", "description": "Attribute term." }, "terms": { "type": "array", "description": "Attribute terms." } } }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "type": { "default": "variation", "description": "Product type.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Variation description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Variation regular price.", "type": "string", "required": false }, "sale_price": { "description": "Variation sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Variation status.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "If the variation is virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "If the variation is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Stock management at variation level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variation weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "image": { "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the variation.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the variation.", "type": "integer", "required": false }, "type": { "description": "Product type.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Variation description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Variation regular price.", "type": "string", "required": false }, "sale_price": { "description": "Variation sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Variation status.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "If the variation is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the variation is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at variation level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variation weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "image": { "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the variation.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the variation.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the variation.", "type": "integer", "required": false }, "type": { "description": "Product type.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Variation description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Variation regular price.", "type": "string", "required": false }, "sale_price": { "description": "Variation sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Variation status.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "If the variation is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the variation is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at variation level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variation weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "image": { "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the variation.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "type": { "description": "Product type.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Variation description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Variation regular price.", "type": "string", "required": false }, "sale_price": { "description": "Variation sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Variation status.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "If the variation is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the variation is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at variation level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variation weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "image": { "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "type": { "description": "Product type.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Variation description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Variation regular price.", "type": "string", "required": false }, "sale_price": { "description": "Variation sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Variation status.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "If the variation is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the variation is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at variation level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variation weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "image": { "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations\/generate": { "namespace": "wc-analytics", "methods": [ "POST", "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "delete": { "description": "Deletes unused variations.", "type": "boolean", "required": false }, "default_values": { "description": "Default values for generated variations.", "type": "object", "properties": { "type": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Product type.", "type": "string", "enum": [ "variation" ] }, "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation description.", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Unique identifier.", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation regular price.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation sale price.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation status.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "If the variation is virtual.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "If the variation is downloadable.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Number of days until access to downloadable files expires.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Tax class.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stock management at variation level.", "type": "boolean" }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stock quantity.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation weight (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Shipping class slug.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Menu order, used to custom sort products.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } }, "name": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Product parent name.", "type": "string" }, "parent_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Product parent ID.", "type": "integer" } }, "required": false }, "type": { "default": "variation", "description": "Product type.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Variation description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Variation regular price.", "type": "string", "required": false }, "sale_price": { "description": "Variation sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Variation status.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "If the variation is virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "If the variation is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Stock management at variation level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variation weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "image": { "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "delete": { "description": "Deletes unused variations.", "type": "boolean", "required": false }, "default_values": { "description": "Default values for generated variations.", "type": "object", "properties": { "type": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Product type.", "type": "string", "enum": [ "variation" ] }, "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation description.", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Unique identifier.", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation regular price.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation sale price.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation status.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "If the variation is virtual.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "If the variation is downloadable.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Number of days until access to downloadable files expires.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Tax class.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stock management at variation level.", "type": "boolean" }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stock quantity.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation weight (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Shipping class slug.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Menu order, used to custom sort products.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } }, "name": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Product parent name.", "type": "string" }, "parent_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Product parent ID.", "type": "integer" } }, "required": false }, "type": { "default": "variation", "description": "Product type.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Variation description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Variation regular price.", "type": "string", "required": false }, "sale_price": { "description": "Variation sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Variation status.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "If the variation is virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "If the variation is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Stock management at variation level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variation weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "image": { "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/variations": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Search by similar product name, sku, or attribute value.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limit result set to products with a specific slug.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limit result set to products assigned a specific status.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string", "required": false }, "on_sale": { "description": "Limit result set to products on sale.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limit result set to products with specified stock status.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limit result set to products with or without price.", "type": "boolean", "required": false }, "attributes": { "description": "Limit result set to products with specified attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Attribute slug." }, "term": { "type": "string", "description": "Attribute term." }, "terms": { "type": "array", "description": "Attribute terms." } } }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Search by similar product name, sku, or attribute value.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limit result set to products with a specific slug.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limit result set to products assigned a specific status.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string", "required": false }, "on_sale": { "description": "Limit result set to products on sale.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limit result set to products with specified stock status.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limit result set to products with or without price.", "type": "boolean", "required": false }, "attributes": { "description": "Limit result set to products with specified attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Attribute slug." }, "term": { "type": "string", "description": "Attribute term." }, "terms": { "type": "array", "description": "Attribute terms." } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/variations" } ] } }, "\/wc-analytics\/products\/reviews": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to reviews published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "required": false }, "reviewer": { "description": "Limit result set to reviews assigned to specific user IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_exclude": { "description": "Ensure result set excludes reviews assigned to specific user IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_email": { "default": null, "description": "Limit result set to that from a specific author email.", "format": "email", "type": "string", "required": false }, "product": { "default": [], "description": "Limit result set to reviews assigned to specific product IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approved", "description": "Limit result set to reviews assigned a specific status.", "type": "string", "enum": [ "all", "hold", "approved", "spam", "trash" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unique identifier for the product.", "type": "integer", "required": true }, "product_name": { "description": "Product name.", "type": "string", "required": false }, "status": { "default": "approved", "description": "Status of the review.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "type": "string", "description": "Name of the reviewer.", "required": true }, "reviewer_email": { "type": "string", "description": "Email of the reviewer.", "required": true }, "review": { "type": "string", "description": "Review content.", "required": true }, "rating": { "description": "Review rating (0 to 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/products\/reviews" } ] } }, "\/wc-analytics\/products\/reviews\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "product_id": { "description": "Unique identifier for the product that the review belongs to.", "type": "integer", "required": false }, "product_name": { "description": "Product name.", "type": "string", "required": false }, "status": { "description": "Status of the review.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Reviewer name.", "type": "string", "required": false }, "reviewer_email": { "description": "Reviewer email.", "type": "string", "format": "email", "required": false }, "review": { "description": "The content of the review.", "type": "string", "required": false }, "rating": { "description": "Review rating (0 to 5).", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc-analytics\/products\/reviews\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unique identifier for the product that the review belongs to.", "type": "integer", "required": false }, "product_name": { "description": "Product name.", "type": "string", "required": false }, "status": { "description": "Status of the review.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Reviewer name.", "type": "string", "required": false }, "reviewer_email": { "description": "Reviewer email.", "type": "string", "format": "email", "required": false }, "review": { "description": "The content of the review.", "type": "string", "required": false }, "rating": { "description": "Review rating (0 to 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/products\/reviews\/batch" } ] } }, "\/wc-analytics\/products\/low-in-stock": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "status": { "default": "publish", "description": "Limit result set to products assigned a specific status.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/products\/low-in-stock" } ] } }, "\/wc-analytics\/products\/count-low-in-stock": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "status": { "default": "publish", "description": "Limit result set to products assigned a specific status.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/products\/count-low-in-stock" } ] } }, "\/wc-analytics\/settings\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "Settings group ID.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Settings group ID.", "type": "string", "required": false }, "value": { "description": "Setting value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc-analytics\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "Settings group ID.", "type": "string", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Settings group ID.", "type": "string", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "value": { "description": "Setting value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc-admin\/themes": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "pluginzip": { "description": "A zip file of the theme to be uploaded.", "type": "file", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/themes" } ] } }, "\/wc-admin\/plugins\/install": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/plugins\/install" } ] } }, "\/wc-admin\/plugins\/install\/status": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/plugins\/install\/status" } ] } }, "\/wc-admin\/plugins\/install\/status\/(?P[a-z0-9_\\-]+)": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-admin\/plugins\/active": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/plugins\/active" } ] } }, "\/wc-admin\/plugins\/installed": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/plugins\/installed" } ] } }, "\/wc-admin\/plugins\/activate": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/plugins\/activate" } ] } }, "\/wc-admin\/plugins\/activate\/status": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/plugins\/activate\/status" } ] } }, "\/wc-admin\/plugins\/activate\/status\/(?P[a-z0-9_\\-]+)": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-admin\/plugins\/connect-jetpack": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/plugins\/connect-jetpack" } ] } }, "\/wc-admin\/plugins\/request-wccom-connect": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/plugins\/request-wccom-connect" } ] } }, "\/wc-admin\/plugins\/finish-wccom-connect": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/plugins\/finish-wccom-connect" } ] } }, "\/wc-admin\/plugins\/connect-wcpay": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/plugins\/connect-wcpay" } ] } }, "\/wc-admin\/plugins\/connect-square": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/plugins\/connect-square" } ] } }, "\/wc-admin\/onboarding\/free-extensions": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/onboarding\/free-extensions" } ] } }, "\/wc-admin\/onboarding\/product-types": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/onboarding\/product-types" } ] } }, "\/wc-admin\/onboarding\/profile": { "namespace": "wc-admin", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "completed": { "type": "boolean", "description": "Whether or not the profile was completed.", "required": false }, "skipped": { "type": "boolean", "description": "Whether or not the profile was skipped.", "required": false }, "industry": { "type": "array", "description": "Industry.", "items": { "type": "object" }, "required": false }, "product_types": { "type": "array", "description": "Types of products sold.", "items": { "enum": [ "physical", "downloads", "subscriptions", "memberships", "bookings", "product-bundles", "product-add-ons" ], "type": "string" }, "required": false }, "product_count": { "type": "string", "description": "Number of products to be added.", "enum": [ "0", "1-10", "11-100", "101-1000", "1000+" ], "required": false }, "selling_venues": { "type": "string", "description": "Other places the store is selling products.", "enum": [ "no", "other", "brick-mortar", "brick-mortar-other", "other-woocommerce" ], "required": false }, "number_employees": { "type": "string", "description": "Number of employees of the store.", "enum": [ "1", "<10", "10-50", "50-250", "+250", "not specified" ], "required": false }, "revenue": { "type": "string", "description": "Current annual revenue of the store.", "enum": [ "none", "up-to-2500", "2500-10000", "10000-50000", "50000-250000", "more-than-250000", "rather-not-say" ], "required": false }, "other_platform": { "type": "string", "description": "Name of other platform used to sell.", "enum": [ "shopify", "bigcommerce", "magento", "wix", "amazon", "ebay", "etsy", "squarespace", "other" ], "required": false }, "other_platform_name": { "type": "string", "description": "Name of other platform used to sell (not listed).", "required": false }, "business_extensions": { "type": "array", "description": "Extra business extensions to install.", "items": { "type": "string" }, "required": false }, "theme": { "type": "string", "description": "Selected store theme.", "required": false }, "setup_client": { "type": "boolean", "description": "Whether or not this store was setup for a client.", "required": false }, "wccom_connected": { "type": "boolean", "description": "Whether or not the store was connected to WooCommerce.com during the extension flow.", "required": false }, "is_agree_marketing": { "type": "boolean", "description": "Whether or not this store agreed to receiving marketing contents from WooCommerce.com.", "required": false }, "store_email": { "type": "string", "description": "Store email address.", "required": false }, "is_store_country_set": { "type": "boolean", "description": "Whether or not this store country is set via onboarding profiler.", "required": false }, "is_plugins_page_skipped": { "type": "boolean", "description": "Whether or not plugins step in core profiler was skipped.", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/onboarding\/profile" } ] } }, "\/wc-admin\/onboarding\/profile\/experimental_get_email_prefill": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/onboarding\/profile\/experimental_get_email_prefill" } ] } }, "\/wc-admin\/onboarding\/tasks\/import_sample_products": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/onboarding\/tasks\/import_sample_products" } ] } }, "\/wc-admin\/onboarding\/tasks\/create_homepage": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/onboarding\/tasks\/create_homepage" } ] } }, "\/wc-admin\/onboarding\/tasks\/create_product_from_template": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "template_name": { "type": "string", "description": "Product template name.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/onboarding\/tasks\/create_product_from_template" } ] } }, "\/wc-admin\/onboarding\/tasks": { "namespace": "wc-admin", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "ids": { "description": "Optional parameter to get only specific task lists by id.", "type": "array", "items": { "enum": [ "setup", "extended", "secret_tasklist" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "ids": { "description": "Optional parameter to get only specific task lists by id.", "type": "array", "items": { "enum": [ "setup", "extended", "secret_tasklist" ], "type": "string" }, "required": false }, "extended_tasks": { "description": "List of extended deprecated tasks from the client side filter.", "type": "array", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/onboarding\/tasks" } ] } }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/hide": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/unhide": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/dismiss": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/undo_dismiss": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_-]+)\/snooze": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "duration": { "description": "Time period to snooze the task.", "type": "string", "required": false }, "task_list_id": { "description": "Optional parameter to query specific task list.", "type": "string", "required": false } } } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/action": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/undo_snooze": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/themes\/install": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/onboarding\/themes\/install" } ] } }, "\/wc-admin\/onboarding\/themes\/activate": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/onboarding\/themes\/activate" } ] } }, "\/wc-admin\/onboarding\/themes\/recommended": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "industry": { "type": "string", "description": "Limits the results to themes relevant for this industry (optional)", "required": false }, "currency": { "type": "string", "enum": [ "USD", "AUD", "CAD", "EUR", "GBP" ], "default": "USD", "description": "Returns pricing in this currency (optional, default: USD)", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/onboarding\/themes\/recommended" } ] } }, "\/wc-admin\/onboarding\/plugins\/install-and-activate-async": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "plugins": { "description": "A list of plugins to install", "type": "array", "items": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/onboarding\/plugins\/install-and-activate-async" } ] } }, "\/wc-admin\/onboarding\/plugins\/install-and-activate": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/onboarding\/plugins\/install-and-activate" } ] } }, "\/wc-admin\/onboarding\/plugins\/scheduled-installs\/(?P\\w+)": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-admin\/onboarding\/plugins\/jetpack-authorization-url": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "redirect_url": { "description": "The URL to redirect to after authorization", "type": "string", "required": true }, "from": { "description": "from value for the jetpack authorization page", "type": "string", "default": "woocommerce-onboarding", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/onboarding\/plugins\/jetpack-authorization-url" } ] } }, "\/wc-admin\/onboarding\/products": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/onboarding\/products" } ] } }, "\/wc-admin\/navigation\/favorites\/me": { "namespace": "wc-admin", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "item_id": { "required": true } } }, { "methods": [ "DELETE" ], "args": { "item_id": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/navigation\/favorites\/me" } ] } }, "\/wc-analytics\/taxes": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Order sort attribute ascending or descending.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Sort collection by object attribute.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Sort by tax class.", "enum": [ "standard", "reduced-rate", "stopnja-nic", "zero-rate", "znizana-stopnja" ], "type": "string", "required": false }, "search": { "description": "Search by similar tax code.", "type": "string", "required": false }, "include": { "description": "Limit result set to items that have the specified rate ID(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Country ISO 3166 code.", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.", "type": "string", "required": false }, "city": { "description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.", "type": "string", "required": false }, "rate": { "description": "Tax rate.", "type": "string", "required": false }, "name": { "description": "Tax rate name.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Tax priority.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Whether or not this is a compound rate.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Whether or not this tax rate also gets applied to shipping.", "type": "boolean", "required": false }, "order": { "description": "Indicates the order that will appear in queries.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Tax class.", "type": "string", "enum": [ "standard", "reduced-rate", "stopnja-nic", "zero-rate", "znizana-stopnja" ], "required": false }, "postcodes": { "description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "List of city names. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/taxes" } ] } }, "\/wc-analytics\/taxes\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "country": { "description": "Country ISO 3166 code.", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.", "type": "string", "required": false }, "city": { "description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.", "type": "string", "required": false }, "rate": { "description": "Tax rate.", "type": "string", "required": false }, "name": { "description": "Tax rate name.", "type": "string", "required": false }, "priority": { "description": "Tax priority.", "type": "integer", "required": false }, "compound": { "description": "Whether or not this is a compound rate.", "type": "boolean", "required": false }, "shipping": { "description": "Whether or not this tax rate also gets applied to shipping.", "type": "boolean", "required": false }, "order": { "description": "Indicates the order that will appear in queries.", "type": "integer", "required": false }, "class": { "description": "Tax class.", "type": "string", "enum": [ "standard", "reduced-rate", "stopnja-nic", "zero-rate", "znizana-stopnja" ], "required": false }, "postcodes": { "description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "List of city names. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc-analytics\/taxes\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Country ISO 3166 code.", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.", "type": "string", "required": false }, "city": { "description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.", "type": "string", "required": false }, "rate": { "description": "Tax rate.", "type": "string", "required": false }, "name": { "description": "Tax rate name.", "type": "string", "required": false }, "priority": { "description": "Tax priority.", "type": "integer", "required": false }, "compound": { "description": "Whether or not this is a compound rate.", "type": "boolean", "required": false }, "shipping": { "description": "Whether or not this tax rate also gets applied to shipping.", "type": "boolean", "required": false }, "order": { "description": "Indicates the order that will appear in queries.", "type": "integer", "required": false }, "class": { "description": "Tax class.", "type": "string", "enum": [ "standard", "reduced-rate", "stopnja-nic", "zero-rate", "znizana-stopnja" ], "required": false }, "postcodes": { "description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "List of city names. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/taxes\/batch" } ] } }, "\/wc-admin\/mobile-app\/send-magic-link": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/mobile-app\/send-magic-link" } ] } }, "\/wc-admin\/mobile-app": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/mobile-app" } ] } }, "\/wc-admin\/shipping-partner-suggestions": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "force_default_suggestions": { "type": "boolean", "description": "Return the default shipping partner suggestions when woocommerce_show_marketplace_suggestions option is set to no", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/shipping-partner-suggestions" } ] } }, "\/wc-admin\/launch-your-store\/initialize-coming-soon": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/launch-your-store\/initialize-coming-soon" } ] } }, "\/wc-admin\/launch-your-store\/update-survey-status": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "status": { "type": "string", "enum": [ "yes", "no" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/launch-your-store\/update-survey-status" } ] } }, "\/wc-admin\/launch-your-store\/survey-completed": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/launch-your-store\/survey-completed" } ] } }, "\/wc-admin\/launch-your-store\/woopayments\/test-orders\/count": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/launch-your-store\/woopayments\/test-orders\/count" } ] } }, "\/wc-admin\/launch-your-store\/woopayments\/test-orders": { "namespace": "wc-admin", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-admin\/launch-your-store\/woopayments\/test-orders" } ] } }, "\/wc-analytics\/customers": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date_registered", "enum": [ "username", "name", "country", "city", "state", "postcode", "date_registered", "date_last_active", "orders_count", "total_spend", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "registered_before": { "description": "Limit response to objects registered before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Limit response to objects registered after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "search": { "description": "Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Limit response to objects with specific names.", "type": "string", "required": false }, "name_excludes": { "description": "Limit response to objects excluding specific names.", "type": "string", "required": false }, "username_includes": { "description": "Limit response to objects with specific usernames.", "type": "string", "required": false }, "username_excludes": { "description": "Limit response to objects excluding specific usernames.", "type": "string", "required": false }, "email_includes": { "description": "Limit response to objects including emails.", "type": "string", "required": false }, "email_excludes": { "description": "Limit response to objects excluding emails.", "type": "string", "required": false }, "country_includes": { "description": "Limit response to objects with specific countries.", "type": "string", "required": false }, "country_excludes": { "description": "Limit response to objects excluding specific countries.", "type": "string", "required": false }, "last_active_before": { "description": "Limit response to objects last active before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Limit response to objects last active after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Limit response to objects last active between two given ISO8601 compliant datetime.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Limit response to objects last active between two given ISO8601 compliant datetime.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Limit response to objects with an order count greater than or equal to given integer.", "type": "integer", "required": false }, "orders_count_max": { "description": "Limit response to objects with an order count less than or equal to given integer.", "type": "integer", "required": false }, "orders_count_between": { "description": "Limit response to objects with an order count between two given integers.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Limit response to objects with a total order spend greater than or equal to given number.", "type": "number", "required": false }, "total_spend_max": { "description": "Limit response to objects with a total order spend less than or equal to given number.", "type": "number", "required": false }, "total_spend_between": { "description": "Limit response to objects with a total order spend between two given numbers.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Limit response to objects with an average order spend greater than or equal to given number.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Limit response to objects with an average order spend less than or equal to given number.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Limit response to objects with an average order spend between two given numbers.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "users": { "description": "Limit result to items with specified user ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "Filter out results where any of the passed fields are empty", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false }, "include": { "description": "Limit result to items with specified customer ids.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/customers" } ] } }, "\/wc-analytics\/customers\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique ID for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date_registered", "enum": [ "username", "name", "country", "city", "state", "postcode", "date_registered", "date_last_active", "orders_count", "total_spend", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "registered_before": { "description": "Limit response to objects registered before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Limit response to objects registered after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "search": { "description": "Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Limit response to objects with specific names.", "type": "string", "required": false }, "name_excludes": { "description": "Limit response to objects excluding specific names.", "type": "string", "required": false }, "username_includes": { "description": "Limit response to objects with specific usernames.", "type": "string", "required": false }, "username_excludes": { "description": "Limit response to objects excluding specific usernames.", "type": "string", "required": false }, "email_includes": { "description": "Limit response to objects including emails.", "type": "string", "required": false }, "email_excludes": { "description": "Limit response to objects excluding emails.", "type": "string", "required": false }, "country_includes": { "description": "Limit response to objects with specific countries.", "type": "string", "required": false }, "country_excludes": { "description": "Limit response to objects excluding specific countries.", "type": "string", "required": false }, "last_active_before": { "description": "Limit response to objects last active before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Limit response to objects last active after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Limit response to objects last active between two given ISO8601 compliant datetime.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Limit response to objects last active between two given ISO8601 compliant datetime.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Limit response to objects with an order count greater than or equal to given integer.", "type": "integer", "required": false }, "orders_count_max": { "description": "Limit response to objects with an order count less than or equal to given integer.", "type": "integer", "required": false }, "orders_count_between": { "description": "Limit response to objects with an order count between two given integers.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Limit response to objects with a total order spend greater than or equal to given number.", "type": "number", "required": false }, "total_spend_max": { "description": "Limit response to objects with a total order spend less than or equal to given number.", "type": "number", "required": false }, "total_spend_between": { "description": "Limit response to objects with a total order spend between two given numbers.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Limit response to objects with an average order spend greater than or equal to given number.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Limit response to objects with an average order spend less than or equal to given number.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Limit response to objects with an average order spend between two given numbers.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "users": { "description": "Limit result to items with specified user ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "Filter out results where any of the passed fields are empty", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false }, "include": { "description": "Limit result to items with specified customer ids.", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wc-analytics\/leaderboards": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 5, "minimum": 1, "maximum": 20, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "persisted_query": { "description": "URL query to persist across links.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/leaderboards" } ] } }, "\/wc-analytics\/leaderboards\/allowed": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/leaderboards\/allowed" } ] } }, "\/wc-analytics\/leaderboards\/(?P\\w+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "leaderboard": { "type": "string", "enum": [ "customers", "coupons", "categories", "products" ], "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 5, "minimum": 1, "maximum": 20, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "persisted_query": { "description": "URL query to persist across links.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/reports": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports" } ] } }, "\/wc-analytics\/reports\/import": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "days": { "description": "Number of days to import.", "type": "integer", "minimum": 0, "required": false }, "skip_existing": { "description": "Skip importing existing order data.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/import" } ] } }, "\/wc-analytics\/reports\/import\/cancel": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/import\/cancel" } ] } }, "\/wc-analytics\/reports\/import\/delete": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/import\/delete" } ] } }, "\/wc-analytics\/reports\/import\/status": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/import\/status" } ] } }, "\/wc-analytics\/reports\/import\/totals": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "days": { "description": "Number of days to import.", "type": "integer", "minimum": 0, "required": false }, "skip_existing": { "description": "Skip importing existing order data.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/import\/totals" } ] } }, "\/wc-analytics\/reports\/(?P[a-z]+)\/export": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "report_args": { "description": "Parameters to pass on to the exported report.", "type": "object", "required": false }, "email": { "description": "When true, email a link to download the export to the requesting user.", "type": "boolean", "required": false } } } ] }, "\/wc-analytics\/reports\/(?P[a-z]+)\/export\/(?P[a-z0-9]+)\/status": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-analytics\/reports\/products": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "items_sold", "product_name", "variations", "sku" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "categories": { "description": "Limit result to items from the specified categories.", "type": "array", "items": { "type": "integer" }, "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "products": { "description": "Limit result to items with specified product ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "Add additional piece of info about each product to the report.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/products" } ] } }, "\/wc-analytics\/reports\/variations": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "items_sold", "sku" ], "required": false }, "product_includes": { "description": "Limit result set to items that have the specified parent product(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limit result set to items that don't have the specified parent product(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variations": { "description": "Limit result to items with specified variation ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "Add additional piece of info about each variation to the report.", "type": "boolean", "default": false, "required": false }, "attribute_is": { "description": "Limit result set to variations that include the specified attributes.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Limit result set to variations that don't include the specified attributes.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "category_includes": { "description": "Limit result set to variations in the specified categories.", "type": "array", "items": { "type": "integer" }, "required": false }, "category_excludes": { "description": "Limit result set to variations not in the specified categories.", "type": "array", "items": { "type": "integer" }, "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/variations" } ] } }, "\/wc-analytics\/reports\/products\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "interval": { "description": "Time interval to use for buckets in the returned data.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "categories": { "description": "Limit result to items from the specified categories.", "type": "array", "items": { "type": "integer" }, "required": false }, "products": { "description": "Limit result to items with specified product ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "variations": { "description": "Limit result to items with specified variation ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Segment the response by additional constraint.", "type": "string", "enum": [ "product", "category", "variation" ], "required": false }, "fields": { "description": "Limit stats fields to the specified items.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/products\/stats" } ] } }, "\/wc-analytics\/reports\/variations\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "interval": { "description": "Time interval to use for buckets in the returned data.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "category_includes": { "description": "Limit result to items from the specified categories.", "type": "array", "items": { "type": "integer" }, "required": false }, "category_excludes": { "description": "Limit result set to variations not in the specified categories.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_includes": { "description": "Limit result set to items that have the specified parent product(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limit result set to items that don't have the specified parent product(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variations": { "description": "Limit result to items with specified variation ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Segment the response by additional constraint.", "type": "string", "enum": [ "product", "category", "variation" ], "required": false }, "fields": { "description": "Limit stats fields to the specified items.", "type": "array", "items": { "type": "string" }, "required": false }, "attribute_is": { "description": "Limit result set to orders that include products with the specified attributes.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Limit result set to orders that don't include products with the specified attributes.", "type": "array", "items": { "type": "array" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/variations\/stats" } ] } }, "\/wc-analytics\/reports\/revenue\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "total_sales", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold", "gross_sales" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "interval": { "description": "Time interval to use for buckets in the returned data.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "segmentby": { "description": "Segment the response by additional constraint.", "type": "string", "enum": [ "product", "category", "variation", "coupon", "customer_type" ], "required": false }, "date_type": { "description": "Override the \"woocommerce_date_type\" option that is used for the database date field considered for revenue reports.", "type": "string", "enum": [ "date_paid", "date_created", "date_completed" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/revenue\/stats" } ] } }, "\/wc-analytics\/reports\/orders": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "num_items_sold", "net_total" ], "required": false }, "product_includes": { "description": "Limit result set to items that have the specified product(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limit result set to items that don't have the specified product(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_includes": { "description": "Limit result set to items that have the specified variation(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_excludes": { "description": "Limit result set to items that don't have the specified variation(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_includes": { "description": "Limit result set to items that have the specified coupon(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_excludes": { "description": "Limit result set to items that don't have the specified coupon(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_includes": { "description": "Limit result set to items that have the specified tax rate(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_excludes": { "description": "Limit result set to items that don't have the specified tax rate(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status_is": { "description": "Limit result set to items that have the specified order status.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "status_is_not": { "description": "Limit result set to items that don't have the specified order status.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "customer_type": { "description": "Limit result set to returning or new customers.", "type": "string", "default": "", "enum": [ "", "returning", "new" ], "required": false }, "refunds": { "description": "Limit result set to specific types of refunds.", "type": "string", "default": "", "enum": [ "", "all", "partial", "full", "none" ], "required": false }, "extended_info": { "description": "Add additional piece of info about each coupon to the report.", "type": "boolean", "default": false, "required": false }, "order_includes": { "description": "Limit result set to items that have the specified order ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "Limit result set to items that don't have the specified order ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "attribute_is": { "description": "Limit result set to orders that include products with the specified attributes.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Limit result set to orders that don't include products with the specified attributes.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/orders" } ] } }, "\/wc-analytics\/reports\/orders\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "avg_order_value" ], "required": false }, "interval": { "description": "Time interval to use for buckets in the returned data.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "status_is": { "description": "Limit result set to items that have the specified order status.", "type": "array", "default": null, "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "status_is_not": { "description": "Limit result set to items that don't have the specified order status.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "product_includes": { "description": "Limit result set to items that have the specified product(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limit result set to items that don't have the specified product(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_includes": { "description": "Limit result set to items that have the specified variation(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_excludes": { "description": "Limit result set to items that don't have the specified variation(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_includes": { "description": "Limit result set to items that have the specified coupon(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_excludes": { "description": "Limit result set to items that don't have the specified coupon(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_includes": { "description": "Limit result set to items that have the specified tax rate(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_excludes": { "description": "Limit result set to items that don't have the specified tax rate(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "customer": { "description": "Alias for customer_type (deprecated).", "type": "string", "enum": [ "new", "returning" ], "required": false }, "customer_type": { "description": "Limit result set to orders that have the specified customer_type", "type": "string", "enum": [ "new", "returning" ], "required": false }, "refunds": { "description": "Limit result set to specific types of refunds.", "type": "string", "default": "", "enum": [ "", "all", "partial", "full", "none" ], "required": false }, "attribute_is": { "description": "Limit result set to orders that include products with the specified attributes.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Limit result set to orders that don't include products with the specified attributes.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "segmentby": { "description": "Segment the response by additional constraint.", "type": "string", "enum": [ "product", "category", "variation", "coupon", "customer_type" ], "required": false }, "fields": { "description": "Limit stats fields to the specified items.", "type": "array", "items": { "type": "string" }, "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/orders\/stats" } ] } }, "\/wc-analytics\/reports\/categories": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "category_id", "enum": [ "category_id", "items_sold", "net_revenue", "orders_count", "products_count", "category" ], "required": false }, "interval": { "description": "Time interval to use for buckets in the returned data.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "status_is": { "description": "Limit result set to items that have the specified order status.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "status_is_not": { "description": "Limit result set to items that don't have the specified order status.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "categories": { "description": "Limit result set to all items that have the specified term assigned in the categories taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "Add additional piece of info about each category to the report.", "type": "boolean", "default": false, "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/categories" } ] } }, "\/wc-analytics\/reports\/taxes": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "tax_rate_id", "enum": [ "name", "tax_rate_id", "tax_code", "rate", "order_tax", "total_tax", "shipping_tax", "orders_count" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "taxes": { "description": "Limit result set to items assigned one or more tax rates.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/taxes" } ] } }, "\/wc-analytics\/reports\/taxes\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "items_sold", "total_sales", "orders_count", "products_count" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "interval": { "description": "Time interval to use for buckets in the returned data.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "taxes": { "description": "Limit result set to all items that have the specified term assigned in the taxes taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Segment the response by additional constraint.", "type": "string", "enum": [ "tax_rate_id" ], "required": false }, "fields": { "description": "Limit stats fields to the specified items.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/taxes\/stats" } ] } }, "\/wc-analytics\/reports\/coupons": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "coupon_id", "enum": [ "coupon_id", "code", "amount", "orders_count" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "coupons": { "description": "Limit result set to coupons assigned specific coupon IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "Add additional piece of info about each coupon to the report.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/coupons" } ] } }, "\/wc-analytics\/reports\/coupons\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "amount", "coupons_count", "orders_count" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "interval": { "description": "Time interval to use for buckets in the returned data.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "coupons": { "description": "Limit result set to coupons assigned specific coupon IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Segment the response by additional constraint.", "type": "string", "enum": [ "product", "variation", "category", "coupon" ], "required": false }, "fields": { "description": "Limit stats fields to the specified items.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/coupons\/stats" } ] } }, "\/wc-analytics\/reports\/stock": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "stock_status", "enum": [ "stock_status", "stock_quantity", "date", "id", "include", "title", "sku" ], "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Limit result set to items assigned a stock report type.", "type": "string", "default": "all", "enum": [ "all", "lowstock", "instock", "outofstock", "onbackorder" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/stock" } ] } }, "\/wc-analytics\/reports\/stock\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/stock\/stats" } ] } }, "\/wc-analytics\/reports\/downloads": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "product" ], "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: products, orders, username, ip_address.", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "product_includes": { "description": "Limit result set to items that have the specified product(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limit result set to items that don't have the specified product(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order_includes": { "description": "Limit result set to items that have the specified order ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "Limit result set to items that don't have the specified order ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_includes": { "description": "Limit response to objects that have the specified user ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_excludes": { "description": "Limit response to objects that don't have the specified user ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "ip_address_includes": { "description": "Limit response to objects that have a specified ip address.", "type": "array", "items": { "type": "string" }, "required": false }, "ip_address_excludes": { "description": "Limit response to objects that don't have a specified ip address.", "type": "array", "items": { "type": "string" }, "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/downloads" } ] } }, "\/wc-analytics\/reports\/downloads\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "download_count" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "interval": { "description": "Time interval to use for buckets in the returned data.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "product_includes": { "description": "Limit result set to items that have the specified product(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limit result set to items that don't have the specified product(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order_includes": { "description": "Limit result set to items that have the specified order ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "Limit result set to items that don't have the specified order ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_includes": { "description": "Limit response to objects that have the specified customer ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_excludes": { "description": "Limit response to objects that don't have the specified customer ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "ip_address_includes": { "description": "Limit response to objects that have a specified ip address.", "type": "array", "items": { "type": "string" }, "required": false }, "ip_address_excludes": { "description": "Limit response to objects that don't have a specified ip address.", "type": "array", "items": { "type": "string" }, "required": false }, "fields": { "description": "Limit stats fields to the specified items.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/downloads\/stats" } ] } }, "\/wc-analytics\/reports\/customers": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date_registered", "enum": [ "username", "name", "country", "city", "state", "postcode", "date_registered", "date_last_active", "orders_count", "total_spend", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "registered_before": { "description": "Limit response to objects registered before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Limit response to objects registered after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "search": { "description": "Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Limit response to objects with specific names.", "type": "string", "required": false }, "name_excludes": { "description": "Limit response to objects excluding specific names.", "type": "string", "required": false }, "username_includes": { "description": "Limit response to objects with specific usernames.", "type": "string", "required": false }, "username_excludes": { "description": "Limit response to objects excluding specific usernames.", "type": "string", "required": false }, "email_includes": { "description": "Limit response to objects including emails.", "type": "string", "required": false }, "email_excludes": { "description": "Limit response to objects excluding emails.", "type": "string", "required": false }, "country_includes": { "description": "Limit response to objects with specific countries.", "type": "string", "required": false }, "country_excludes": { "description": "Limit response to objects excluding specific countries.", "type": "string", "required": false }, "last_active_before": { "description": "Limit response to objects last active before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Limit response to objects last active after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Limit response to objects last active between two given ISO8601 compliant datetime.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Limit response to objects last active between two given ISO8601 compliant datetime.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Limit response to objects with an order count greater than or equal to given integer.", "type": "integer", "required": false }, "orders_count_max": { "description": "Limit response to objects with an order count less than or equal to given integer.", "type": "integer", "required": false }, "orders_count_between": { "description": "Limit response to objects with an order count between two given integers.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Limit response to objects with a total order spend greater than or equal to given number.", "type": "number", "required": false }, "total_spend_max": { "description": "Limit response to objects with a total order spend less than or equal to given number.", "type": "number", "required": false }, "total_spend_between": { "description": "Limit response to objects with a total order spend between two given numbers.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Limit response to objects with an average order spend greater than or equal to given number.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Limit response to objects with an average order spend less than or equal to given number.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Limit response to objects with an average order spend between two given numbers.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "customers": { "description": "Limit result to items with specified customer ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "users": { "description": "Limit result to items with specified user ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "Filter out results where any of the passed fields are empty", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/customers" } ] } }, "\/wc-analytics\/reports\/customers\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "registered_before": { "description": "Limit response to objects registered before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Limit response to objects registered after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "search": { "description": "Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Limit response to objects with specific names.", "type": "string", "required": false }, "name_excludes": { "description": "Limit response to objects excluding specific names.", "type": "string", "required": false }, "username_includes": { "description": "Limit response to objects with specific usernames.", "type": "string", "required": false }, "username_excludes": { "description": "Limit response to objects excluding specific usernames.", "type": "string", "required": false }, "email_includes": { "description": "Limit response to objects including emails.", "type": "string", "required": false }, "email_excludes": { "description": "Limit response to objects excluding emails.", "type": "string", "required": false }, "country_includes": { "description": "Limit response to objects with specific countries.", "type": "string", "required": false }, "country_excludes": { "description": "Limit response to objects excluding specific countries.", "type": "string", "required": false }, "last_active_before": { "description": "Limit response to objects last active before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Limit response to objects last active after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Limit response to objects last active between two given ISO8601 compliant datetime.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Limit response to objects last active between two given ISO8601 compliant datetime.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Limit response to objects with an order count greater than or equal to given integer.", "type": "integer", "required": false }, "orders_count_max": { "description": "Limit response to objects with an order count less than or equal to given integer.", "type": "integer", "required": false }, "orders_count_between": { "description": "Limit response to objects with an order count between two given integers.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Limit response to objects with a total order spend greater than or equal to given number.", "type": "number", "required": false }, "total_spend_max": { "description": "Limit response to objects with a total order spend less than or equal to given number.", "type": "number", "required": false }, "total_spend_between": { "description": "Limit response to objects with a total order spend between two given numbers.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Limit response to objects with an average order spend greater than or equal to given number.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Limit response to objects with an average order spend less than or equal to given number.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Limit response to objects with an average order spend between two given numbers.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "customers": { "description": "Limit result to items with specified customer ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "fields": { "description": "Limit stats fields to the specified items.", "type": "array", "items": { "type": "string" }, "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/customers\/stats" } ] } }, "\/wc-analytics\/reports\/performance-indicators": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "stats": { "description": "Limit response to specific report stats. Allowed values: .", "type": "array", "items": { "type": "string", "enum": [] }, "default": [], "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/performance-indicators" } ] } }, "\/wc-analytics\/reports\/performance-indicators\/allowed": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "stats": { "description": "Limit response to specific report stats. Allowed values: .", "type": "array", "items": { "type": "string", "enum": [] }, "default": [], "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-analytics\/reports\/performance-indicators\/allowed" } ] } }, "\/wc\/store": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/store", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store" } ] } }, "\/wc\/store\/batch": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "validation": { "type": "string", "enum": [ "require-all-validate", "normal" ], "default": "normal", "required": false }, "requests": { "type": "array", "maxItems": 25, "items": { "type": "object", "properties": { "method": { "type": "string", "enum": [ "POST", "PUT", "PATCH", "DELETE" ], "default": "POST" }, "path": { "type": "string", "required": true }, "body": { "type": "object", "properties": [], "additionalProperties": true }, "headers": { "type": "object", "properties": [], "additionalProperties": { "type": [ "string", "array" ], "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/batch" } ] } }, "\/wc\/store\/cart": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/cart" } ] } }, "\/wc\/store\/cart\/add-item": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "The cart item product or variation ID.", "type": "integer", "required": false }, "quantity": { "description": "Quantity of this item to add to the cart.", "type": "integer", "required": false }, "variation": { "description": "Chosen attributes (for variations).", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Variation attribute name.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Variation attribute value.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/cart\/add-item" } ] } }, "\/wc\/store\/cart\/apply-coupon": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Unique identifier for the coupon within the cart.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/cart\/apply-coupon" } ] } }, "\/wc\/store\/cart\/coupons": { "namespace": "wc\/store", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "The coupon's unique code.", "type": "string", "required": false }, "discount_type": { "description": "The discount type for the coupon (e.g. percentage or fixed amount)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/cart\/coupons" } ] } }, "\/wc\/store\/cart\/coupons\/(?P[\\w-]+)": { "namespace": "wc\/store", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Unique identifier for the coupon within the cart.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Unique identifier for the coupon within the cart.", "type": "string", "required": false } } } ] }, "\/wc\/store\/cart\/extensions": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "namespace": { "description": "Extension's name - this will be used to ensure the data in the request is routed appropriately.", "type": "string", "required": false }, "data": { "description": "Additional data to pass to the extension", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/cart\/extensions" } ] } }, "\/wc\/store\/cart\/items": { "namespace": "wc\/store", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "extensions": { "type": "object", "properties": [], "default": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/cart\/items" } ] } }, "\/wc\/store\/cart\/items\/(?P[\\w-]{32})": { "namespace": "wc\/store", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unique identifier for the item within the cart.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unique identifier for the item within the cart.", "type": "string", "required": false }, "extensions": { "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unique identifier for the item within the cart.", "type": "string", "required": false } } } ] }, "\/wc\/store\/cart\/remove-coupon": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Unique identifier for the coupon within the cart.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/cart\/remove-coupon" } ] } }, "\/wc\/store\/cart\/remove-item": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unique identifier (key) for the cart item.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/cart\/remove-item" } ] } }, "\/wc\/store\/cart\/select-shipping-rate": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "package_id": { "description": "The ID of the package being shipped. Leave blank to apply to all packages.", "type": [ "integer", "string", "null" ], "required": false }, "rate_id": { "description": "The chosen rate ID for the package.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/cart\/select-shipping-rate" } ] } }, "\/wc\/store\/cart\/update-item": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unique identifier (key) for the cart item to update.", "type": "string", "required": false }, "quantity": { "description": "New quantity of the item in the cart.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/cart\/update-item" } ] } }, "\/wc\/store\/cart\/update-customer": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "billing_address": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Last name", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Company", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Address", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartment, suite, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "City", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postal code", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Country\/Region code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Phone", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Email", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Last name", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Company", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Address", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartment, suite, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "City", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postal code", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Country\/Region code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Phone", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/cart\/update-customer" } ] } }, "\/wc\/store\/checkout": { "namespace": "wc\/store", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "Data to pass through to the payment method when processing payment.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_note": { "description": "Note added to the order by the customer during checkout.", "type": "string", "required": false }, "billing_address": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Last name", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Company", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Address", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartment, suite, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "City", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postal code", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Country\/Region code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Phone", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Email", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Last name", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Company", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Address", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartment, suite, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "City", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postal code", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Country\/Region code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Phone", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "The ID of the payment method being used to process the payment.", "type": "string", "enum": [ "bacs", "cheque", "cod", "paypal", "stripe", "stripe_giropay", "stripe_ideal", "stripe_bancontact", "stripe_eps", "stripe_p24", "stripe_boleto", "stripe_oxxo", "stripe_alipay", "stripe_multibanco", "stripe_klarna", "stripe_affirm", "stripe_afterpay_clearpay", "stripe_sepa_debit", "stripe_link", "stripe_wechat_pay", "stripe_cashapp" ], "required": false }, "create_account": { "description": "Whether to create a new user account as part of order processing.", "type": "boolean", "required": false }, "additional_fields": { "description": "Additional fields to be persisted on the order.", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "woocommerce\/order-attribution": { "description": "Extension data registered by woocommerce\/order-attribution", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Order attribution field: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Order attribution field: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Order attribution field: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Order attribution field: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Order attribution field: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Order attribution field: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Order attribution field: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Order attribution field: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Order attribution field: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Order attribution field: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Order attribution field: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Order attribution field: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Order attribution field: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Order attribution field: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Order attribution field: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Order attribution field: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "default": { "woocommerce\/order-attribution": [] }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/checkout" } ] } }, "\/wc\/store\/checkout\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "Data to pass through to the payment method when processing payment.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_note": { "description": "Note added to the order by the customer during checkout.", "type": "string", "required": false }, "billing_address": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Last name", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Company", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Address", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartment, suite, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "City", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postal code", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Country\/Region code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Phone", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Email", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Last name", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Company", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Address", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartment, suite, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "City", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postal code", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Country\/Region code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Phone", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "The ID of the payment method being used to process the payment.", "type": "string", "enum": [ "bacs", "cheque", "cod", "paypal", "stripe", "stripe_giropay", "stripe_ideal", "stripe_bancontact", "stripe_eps", "stripe_p24", "stripe_boleto", "stripe_oxxo", "stripe_alipay", "stripe_multibanco", "stripe_klarna", "stripe_affirm", "stripe_afterpay_clearpay", "stripe_sepa_debit", "stripe_link", "stripe_wechat_pay", "stripe_cashapp" ], "required": false }, "additional_fields": { "description": "Additional fields to be persisted on the order.", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "woocommerce\/order-attribution": { "description": "Extension data registered by woocommerce\/order-attribution", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Order attribution field: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Order attribution field: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Order attribution field: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Order attribution field: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Order attribution field: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Order attribution field: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Order attribution field: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Order attribution field: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Order attribution field: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Order attribution field: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Order attribution field: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Order attribution field: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Order attribution field: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Order attribution field: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Order attribution field: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Order attribution field: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "default": { "woocommerce\/order-attribution": [] }, "required": false } } } ] }, "\/wc\/store\/order\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/attributes": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/products\/attributes" } ] } }, "\/wc\/store\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "Unique identifier for the attribute.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sort ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort by term property.", "type": "string", "default": "name", "enum": [ "name", "slug", "count", "menu_order", "name_num", "id" ], "required": false }, "hide_empty": { "description": "If true, empty terms will not be returned.", "type": "boolean", "default": true, "required": false } } } ] }, "\/wc\/store\/products\/categories": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sort ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort by term property.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "If true, empty terms will not be returned.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/products\/categories" } ] } }, "\/wc\/store\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/collection-data": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "slug": { "description": "Limit result set to products with specific slug(s). Use commas to separate.", "type": "string", "required": false }, "after": { "description": "Limit response to resources created after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources created before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "When limiting response using after\/before, which date column to compare against.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Limit result set to products assigned a specific type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course", "variation" ], "required": false }, "sku": { "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string", "required": false }, "featured": { "description": "Limit result set to featured products.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a specific category ID.", "type": "string", "required": false }, "category_operator": { "description": "Operator to compare product category terms.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Limit result set to products assigned a specific tag ID.", "type": "string", "required": false }, "tag_operator": { "description": "Operator to compare product tags.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Limit result set to products on sale.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price, provided using the smallest unit of the currency.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price, provided using the smallest unit of the currency.", "type": "string", "required": false }, "stock_status": { "description": "Limit result set to products with specified stock status.", "type": "array", "items": { "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "sanitize_callback": "sanitize_text_field", "validate_callback": "rest_validate_request_arg" }, "default": [], "required": false }, "attributes": { "description": "Limit result set to products with selected global attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Attribute taxonomy name.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "List of attribute term IDs.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "List of attribute slug(s). If a term ID is provided, this will be ignored.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operator to compare product attribute terms.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "The logical relationship between attributes when filtering across multiple at once.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "Determines if hidden or visible catalog products are shown.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Limit result set to products with a certain average rating.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false }, "calculate_price_range": { "description": "If true, calculates the minimum and maximum product prices for the collection.", "type": "boolean", "default": false, "required": false }, "calculate_stock_status_counts": { "description": "If true, calculates stock counts for products in the collection.", "type": "boolean", "default": false, "required": false }, "calculate_attribute_counts": { "description": "If requested, calculates attribute term counts for products in the collection.", "type": "array", "items": { "type": "object", "properties": { "taxonomy": { "description": "Taxonomy name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "query_type": { "description": "Filter condition\t being performed which may affect counts. Valid values include \"and\" and \"or\".", "type": "string", "enum": [ "and", "or" ], "context": [ "view", "edit" ], "readonly": true } } }, "default": [], "required": false }, "calculate_rating_counts": { "description": "If true, calculates rating counts for products in the collection.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/products\/collection-data" } ] } }, "\/wc\/store\/products\/reviews": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "id", "rating", "product" ], "required": false }, "category_id": { "description": "Limit result set to reviews from specific category IDs.", "type": "string", "required": false }, "product_id": { "description": "Limit result set to reviews from specific product IDs.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/products\/reviews" } ] } }, "\/wc\/store\/products\/tags": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sort ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort by term property.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "If true, empty terms will not be returned.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/products\/tags" } ] } }, "\/wc\/store\/products": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "slug": { "description": "Limit result set to products with specific slug(s). Use commas to separate.", "type": "string", "required": false }, "after": { "description": "Limit response to resources created after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources created before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "When limiting response using after\/before, which date column to compare against.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Limit result set to products assigned a specific type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course", "variation" ], "required": false }, "sku": { "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string", "required": false }, "featured": { "description": "Limit result set to featured products.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a specific category ID.", "type": "string", "required": false }, "category_operator": { "description": "Operator to compare product category terms.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Limit result set to products assigned a specific tag ID.", "type": "string", "required": false }, "tag_operator": { "description": "Operator to compare product tags.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Limit result set to products on sale.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price, provided using the smallest unit of the currency.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price, provided using the smallest unit of the currency.", "type": "string", "required": false }, "stock_status": { "description": "Limit result set to products with specified stock status.", "type": "array", "items": { "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "sanitize_callback": "sanitize_text_field", "validate_callback": "rest_validate_request_arg" }, "default": [], "required": false }, "attributes": { "description": "Limit result set to products with selected global attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Attribute taxonomy name.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "List of attribute term IDs.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "List of attribute slug(s). If a term ID is provided, this will be ignored.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operator to compare product attribute terms.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "The logical relationship between attributes when filtering across multiple at once.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "Determines if hidden or visible catalog products are shown.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Limit result set to products with a certain average rating.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/products" } ] } }, "\/wc\/store\/products\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/(?P[\\S]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Slug of the resource.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/store\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1" } ] } }, "\/wc\/store\/v1\/batch": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "validation": { "type": "string", "enum": [ "require-all-validate", "normal" ], "default": "normal", "required": false }, "requests": { "type": "array", "maxItems": 25, "items": { "type": "object", "properties": { "method": { "type": "string", "enum": [ "POST", "PUT", "PATCH", "DELETE" ], "default": "POST" }, "path": { "type": "string", "required": true }, "body": { "type": "object", "properties": [], "additionalProperties": true }, "headers": { "type": "object", "properties": [], "additionalProperties": { "type": [ "string", "array" ], "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/batch" } ] } }, "\/wc\/store\/v1\/cart": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/cart" } ] } }, "\/wc\/store\/v1\/cart\/add-item": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "The cart item product or variation ID.", "type": "integer", "required": false }, "quantity": { "description": "Quantity of this item to add to the cart.", "type": "integer", "required": false }, "variation": { "description": "Chosen attributes (for variations).", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Variation attribute name.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Variation attribute value.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/cart\/add-item" } ] } }, "\/wc\/store\/v1\/cart\/apply-coupon": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Unique identifier for the coupon within the cart.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/cart\/apply-coupon" } ] } }, "\/wc\/store\/v1\/cart\/coupons": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "The coupon's unique code.", "type": "string", "required": false }, "discount_type": { "description": "The discount type for the coupon (e.g. percentage or fixed amount)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/cart\/coupons" } ] } }, "\/wc\/store\/v1\/cart\/coupons\/(?P[\\w-]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Unique identifier for the coupon within the cart.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Unique identifier for the coupon within the cart.", "type": "string", "required": false } } } ] }, "\/wc\/store\/v1\/cart\/extensions": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "namespace": { "description": "Extension's name - this will be used to ensure the data in the request is routed appropriately.", "type": "string", "required": false }, "data": { "description": "Additional data to pass to the extension", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/cart\/extensions" } ] } }, "\/wc\/store\/v1\/cart\/items": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "extensions": { "type": "object", "properties": [], "default": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/cart\/items" } ] } }, "\/wc\/store\/v1\/cart\/items\/(?P[\\w-]{32})": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unique identifier for the item within the cart.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unique identifier for the item within the cart.", "type": "string", "required": false }, "extensions": { "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unique identifier for the item within the cart.", "type": "string", "required": false } } } ] }, "\/wc\/store\/v1\/cart\/remove-coupon": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Unique identifier for the coupon within the cart.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/cart\/remove-coupon" } ] } }, "\/wc\/store\/v1\/cart\/remove-item": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unique identifier (key) for the cart item.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/cart\/remove-item" } ] } }, "\/wc\/store\/v1\/cart\/select-shipping-rate": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "package_id": { "description": "The ID of the package being shipped. Leave blank to apply to all packages.", "type": [ "integer", "string", "null" ], "required": false }, "rate_id": { "description": "The chosen rate ID for the package.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/cart\/select-shipping-rate" } ] } }, "\/wc\/store\/v1\/cart\/update-item": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unique identifier (key) for the cart item to update.", "type": "string", "required": false }, "quantity": { "description": "New quantity of the item in the cart.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/cart\/update-item" } ] } }, "\/wc\/store\/v1\/cart\/update-customer": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "billing_address": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Last name", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Company", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Address", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartment, suite, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "City", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postal code", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Country\/Region code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Phone", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Email", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Last name", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Company", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Address", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartment, suite, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "City", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postal code", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Country\/Region code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Phone", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/cart\/update-customer" } ] } }, "\/wc\/store\/v1\/checkout": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "Data to pass through to the payment method when processing payment.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_note": { "description": "Note added to the order by the customer during checkout.", "type": "string", "required": false }, "billing_address": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Last name", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Company", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Address", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartment, suite, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "City", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postal code", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Country\/Region code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Phone", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Email", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Last name", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Company", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Address", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartment, suite, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "City", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postal code", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Country\/Region code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Phone", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "The ID of the payment method being used to process the payment.", "type": "string", "enum": [ "bacs", "cheque", "cod", "paypal", "stripe", "stripe_giropay", "stripe_ideal", "stripe_bancontact", "stripe_eps", "stripe_p24", "stripe_boleto", "stripe_oxxo", "stripe_alipay", "stripe_multibanco", "stripe_klarna", "stripe_affirm", "stripe_afterpay_clearpay", "stripe_sepa_debit", "stripe_link", "stripe_wechat_pay", "stripe_cashapp" ], "required": false }, "create_account": { "description": "Whether to create a new user account as part of order processing.", "type": "boolean", "required": false }, "additional_fields": { "description": "Additional fields to be persisted on the order.", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "woocommerce\/order-attribution": { "description": "Extension data registered by woocommerce\/order-attribution", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Order attribution field: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Order attribution field: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Order attribution field: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Order attribution field: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Order attribution field: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Order attribution field: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Order attribution field: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Order attribution field: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Order attribution field: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Order attribution field: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Order attribution field: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Order attribution field: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Order attribution field: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Order attribution field: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Order attribution field: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Order attribution field: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "default": { "woocommerce\/order-attribution": [] }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/checkout" } ] } }, "\/wc\/store\/v1\/checkout\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "Data to pass through to the payment method when processing payment.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_note": { "description": "Note added to the order by the customer during checkout.", "type": "string", "required": false }, "billing_address": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Last name", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Company", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Address", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartment, suite, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "City", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postal code", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Country\/Region code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Phone", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Email", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Last name", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Company", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Address", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartment, suite, etc.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "City", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postal code", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Country\/Region code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Phone", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "The ID of the payment method being used to process the payment.", "type": "string", "enum": [ "bacs", "cheque", "cod", "paypal", "stripe", "stripe_giropay", "stripe_ideal", "stripe_bancontact", "stripe_eps", "stripe_p24", "stripe_boleto", "stripe_oxxo", "stripe_alipay", "stripe_multibanco", "stripe_klarna", "stripe_affirm", "stripe_afterpay_clearpay", "stripe_sepa_debit", "stripe_link", "stripe_wechat_pay", "stripe_cashapp" ], "required": false }, "additional_fields": { "description": "Additional fields to be persisted on the order.", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "woocommerce\/order-attribution": { "description": "Extension data registered by woocommerce\/order-attribution", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Order attribution field: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Order attribution field: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Order attribution field: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Order attribution field: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Order attribution field: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Order attribution field: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Order attribution field: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Order attribution field: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Order attribution field: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Order attribution field: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Order attribution field: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Order attribution field: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Order attribution field: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Order attribution field: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Order attribution field: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Order attribution field: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "default": { "woocommerce\/order-attribution": [] }, "required": false } } } ] }, "\/wc\/store\/v1\/order\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/attributes": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/products\/attributes" } ] } }, "\/wc\/store\/v1\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "Unique identifier for the attribute.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sort ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort by term property.", "type": "string", "default": "name", "enum": [ "name", "slug", "count", "menu_order", "name_num", "id" ], "required": false }, "hide_empty": { "description": "If true, empty terms will not be returned.", "type": "boolean", "default": true, "required": false } } } ] }, "\/wc\/store\/v1\/products\/categories": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sort ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort by term property.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "If true, empty terms will not be returned.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/products\/categories" } ] } }, "\/wc\/store\/v1\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/collection-data": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "slug": { "description": "Limit result set to products with specific slug(s). Use commas to separate.", "type": "string", "required": false }, "after": { "description": "Limit response to resources created after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources created before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "When limiting response using after\/before, which date column to compare against.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Limit result set to products assigned a specific type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course", "variation" ], "required": false }, "sku": { "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string", "required": false }, "featured": { "description": "Limit result set to featured products.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a specific category ID.", "type": "string", "required": false }, "category_operator": { "description": "Operator to compare product category terms.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Limit result set to products assigned a specific tag ID.", "type": "string", "required": false }, "tag_operator": { "description": "Operator to compare product tags.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Limit result set to products on sale.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price, provided using the smallest unit of the currency.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price, provided using the smallest unit of the currency.", "type": "string", "required": false }, "stock_status": { "description": "Limit result set to products with specified stock status.", "type": "array", "items": { "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "sanitize_callback": "sanitize_text_field", "validate_callback": "rest_validate_request_arg" }, "default": [], "required": false }, "attributes": { "description": "Limit result set to products with selected global attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Attribute taxonomy name.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "List of attribute term IDs.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "List of attribute slug(s). If a term ID is provided, this will be ignored.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operator to compare product attribute terms.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "The logical relationship between attributes when filtering across multiple at once.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "Determines if hidden or visible catalog products are shown.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Limit result set to products with a certain average rating.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false }, "calculate_price_range": { "description": "If true, calculates the minimum and maximum product prices for the collection.", "type": "boolean", "default": false, "required": false }, "calculate_stock_status_counts": { "description": "If true, calculates stock counts for products in the collection.", "type": "boolean", "default": false, "required": false }, "calculate_attribute_counts": { "description": "If requested, calculates attribute term counts for products in the collection.", "type": "array", "items": { "type": "object", "properties": { "taxonomy": { "description": "Taxonomy name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "query_type": { "description": "Filter condition\t being performed which may affect counts. Valid values include \"and\" and \"or\".", "type": "string", "enum": [ "and", "or" ], "context": [ "view", "edit" ], "readonly": true } } }, "default": [], "required": false }, "calculate_rating_counts": { "description": "If true, calculates rating counts for products in the collection.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/products\/collection-data" } ] } }, "\/wc\/store\/v1\/products\/reviews": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "id", "rating", "product" ], "required": false }, "category_id": { "description": "Limit result set to reviews from specific category IDs.", "type": "string", "required": false }, "product_id": { "description": "Limit result set to reviews from specific product IDs.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/products\/reviews" } ] } }, "\/wc\/store\/v1\/products\/tags": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sort ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort by term property.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "If true, empty terms will not be returned.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/products\/tags" } ] } }, "\/wc\/store\/v1\/products": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "slug": { "description": "Limit result set to products with specific slug(s). Use commas to separate.", "type": "string", "required": false }, "after": { "description": "Limit response to resources created after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources created before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "When limiting response using after\/before, which date column to compare against.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Limit result set to products assigned a specific type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course", "variation" ], "required": false }, "sku": { "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string", "required": false }, "featured": { "description": "Limit result set to featured products.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a specific category ID.", "type": "string", "required": false }, "category_operator": { "description": "Operator to compare product category terms.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Limit result set to products assigned a specific tag ID.", "type": "string", "required": false }, "tag_operator": { "description": "Operator to compare product tags.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Limit result set to products on sale.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price, provided using the smallest unit of the currency.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price, provided using the smallest unit of the currency.", "type": "string", "required": false }, "stock_status": { "description": "Limit result set to products with specified stock status.", "type": "array", "items": { "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "sanitize_callback": "sanitize_text_field", "validate_callback": "rest_validate_request_arg" }, "default": [], "required": false }, "attributes": { "description": "Limit result set to products with selected global attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Attribute taxonomy name.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "List of attribute term IDs.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "List of attribute slug(s). If a term ID is provided, this will be ignored.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operator to compare product attribute terms.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "The logical relationship between attributes when filtering across multiple at once.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "Determines if hidden or visible catalog products are shown.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Limit result set to products with a certain average rating.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/store\/v1\/products" } ] } }, "\/wc\/store\/v1\/products\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/(?P[\\S]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Slug of the resource.", "type": "string", "required": false }, "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/private": { "namespace": "wc\/private", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/private", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/private" } ] } }, "\/wc\/private\/ai\/store-title": { "namespace": "wc\/private", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "business_description": { "description": "The business description for a given store.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/private\/ai\/store-title" } ] } }, "\/wc\/private\/ai\/images": { "namespace": "wc\/private", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "business_description": { "description": "The business description for a given store.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/private\/ai\/images" } ] } }, "\/wc\/private\/ai\/patterns": { "namespace": "wc\/private", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "business_description": { "description": "The business description for a given store.", "type": "string", "required": false }, "images": { "description": "The images for a given store.", "type": "object", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/private\/ai\/patterns" } ] } }, "\/wc\/private\/ai\/product": { "namespace": "wc\/private", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "products_information": { "description": "Data generated by AI for updating dummy products.", "type": "object", "required": false }, "last_product": { "description": "Whether the product being updated is the last one in the loop", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/private\/ai\/product" } ] } }, "\/wc\/private\/ai\/products": { "namespace": "wc\/private", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "business_description": { "description": "The business description for a given store.", "type": "string", "required": false }, "images": { "description": "The images for a given store.", "type": "object", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/private\/ai\/products" } ] } }, "\/wc\/private\/ai\/business-description": { "namespace": "wc\/private", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "business_description": { "description": "The business description for a given store.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/private\/ai\/business-description" } ] } }, "\/wc\/private\/ai\/store-info": { "namespace": "wc\/private", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/private\/ai\/store-info" } ] } }, "\/wc\/private\/patterns": { "namespace": "wc\/private", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/private\/patterns" } ] } }, "\/wp-rocket\/v1": { "namespace": "wp-rocket\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-rocket\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-rocket\/v1" } ] } }, "\/wp-rocket\/v1\/rocketcdn\/enable": { "namespace": "wp-rocket\/v1", "methods": [ "PUT" ], "endpoints": [ { "methods": [ "PUT" ], "args": { "email": { "required": true }, "key": { "required": true }, "url": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-rocket\/v1\/rocketcdn\/enable" } ] } }, "\/wp-rocket\/v1\/rocketcdn\/disable": { "namespace": "wp-rocket\/v1", "methods": [ "PUT" ], "endpoints": [ { "methods": [ "PUT" ], "args": { "email": { "required": true }, "key": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-rocket\/v1\/rocketcdn\/disable" } ] } }, "\/wp-rocket\/v1\/cpcss\/post\/(?P[\\d]+)": { "namespace": "wp-rocket\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wp-rocket\/v1\/support": { "namespace": "wp-rocket\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "email": { "required": true }, "key": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-rocket\/v1\/support" } ] } }, "\/wp-rocket\/v1\/dynamic_lists\/update": { "namespace": "wp-rocket\/v1", "methods": [ "PUT" ], "endpoints": [ { "methods": [ "PUT" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-rocket\/v1\/dynamic_lists\/update" } ] } }, "\/wp-rocket\/v1\/options\/export": { "namespace": "wp-rocket\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-rocket\/v1\/options\/export" } ] } }, "\/yoast\/v1\/redirects": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "origin": { "type": "string", "description": "The origin to redirect", "required": true }, "target": { "type": "string", "description": "The redirect target", "required": false }, "type": { "type": "integer", "description": "The redirect type", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/redirects" } ] } }, "\/yoast\/v1\/redirects\/delete": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "origin": { "type": "string", "description": "The origin to redirect", "required": true }, "target": { "type": "string", "description": "The redirect target", "required": false }, "type": { "type": "string", "description": "The redirect format", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/redirects\/delete" } ] } }, "\/yoast\/v1\/redirects\/undo-for-object": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "obj_id": { "type": "int", "description": "The id of the post or term", "required": true }, "obj_type": { "type": "string", "description": "The object type: post or term", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/yoast\/v1\/redirects\/undo-for-object" } ] } }, "\/google-site-kit\/v1": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "google-site-kit\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/setup-tag": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/site\/data\/setup-tag" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/connection": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/site\/data\/connection" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/authentication": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/authentication" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/disconnect": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/disconnect" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/get-token": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/get-token" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/user-input-settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "questions": { "purpose": { "type": "array", "items": { "type": "string" } }, "postFrequency": { "type": "array", "items": { "type": "string" } }, "goals": { "type": "array", "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/user-input-settings" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/list": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/list" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/activation": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/activation" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/info": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/info" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/check-access": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/check-access" } ] } }, "\/google-site-kit\/v1\/modules\/(?P[a-z0-9\\-]+)\/data\/notifications": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false } } } ] }, "\/google-site-kit\/v1\/modules\/(?P[a-z0-9\\-]+)\/data\/settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false }, "data": { "type": "object", "description": "Settings to set.", "default": null, "required": false } } } ] }, "\/google-site-kit\/v1\/modules\/(?P[a-z0-9\\-]+)\/data\/data-available": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false } } } ] }, "\/google-site-kit\/v1\/modules\/(?P[a-z0-9\\-]+)\/data\/(?P[a-z\\-]+)": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false }, "datapoint": { "type": "string", "description": "Module data point to address.", "default": null, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false }, "datapoint": { "type": "string", "description": "Module data point to address.", "default": null, "required": false }, "data": { "type": "object", "description": "Data to set.", "default": null, "required": false } } } ] }, "\/google-site-kit\/v1\/core\/modules\/data\/recover-modules": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/recover-modules" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/sharing-settings": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/sharing-settings" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismissed-items": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismissed-items" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismiss-item": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismiss-item" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/expirable-items": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/expirable-items" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/set-expirable-item-timers": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "array", "description": "", "default": null, "items": { "type": "object", "additionalProperties": false, "properties": { "slug": { "type": "string", "required": true }, "expiration": { "type": "integer", "required": true } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/set-expirable-item-timers" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/permissions": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/permissions" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/nonces": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/nonces" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey-trigger": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "triggerID": { "type": "string", "required": true } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey-trigger" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey-event": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "session": { "type": "object", "required": true, "properties": { "session_id": { "type": "string", "required": true }, "session_token": { "type": "string", "required": true } } }, "event": { "type": "object", "required": true, "properties": { "survey_shown": { "type": "object" }, "survey_closed": { "type": "object" }, "question_answered": { "type": "object" }, "completion_shown": { "type": "object" }, "follow_up_link_clicked": { "type": "object" } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey-event" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey-timeout": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey-timeout" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey-timeouts": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey-timeouts" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/reset": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/site\/data\/reset" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/reset-persistent": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/site\/data\/reset-persistent" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/developer-plugin": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/site\/data\/developer-plugin" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/tracking": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "enabled": { "type": "boolean", "required": true } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/tracking" } ] } }, "\/google-site-kit\/v1\/core\/search\/data\/entity-search": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "query": { "type": "string", "description": "Text content to search for.", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/search\/data\/entity-search" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/admin-bar-settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "enabled": { "type": "boolean", "required": false } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/site\/data\/admin-bar-settings" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/notifications": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/site\/data\/notifications" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/mark-notification": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/site\/data\/mark-notification" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/site-health-tag-placement-test": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/site\/data\/site-health-tag-placement-test" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/health-checks": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/site\/data\/health-checks" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/connection-check": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/site\/data\/connection-check" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismissed-tours": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismissed-tours" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismiss-tour": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismiss-tour" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/key-metrics": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "properties": { "isWidgetHidden": { "type": "boolean", "required": true }, "widgetSlugs": { "type": "array", "required": false, "maxItems": 4, "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/key-metrics" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismissed-prompts": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismissed-prompts" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismiss-prompt": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismiss-prompt" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/consent-mode": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "minProperties": 1, "additionalProperties": false, "properties": { "enabled": { "type": "boolean" }, "regions": { "type": "array", "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/site\/data\/consent-mode" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/consent-api-info": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/google-site-kit\/v1\/core\/site\/data\/consent-api-info" } ] } }, "\/elementor\/v1\/globals": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/globals" } ] } }, "\/elementor\/v1\/globals\/colors": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/globals\/colors" } ] } }, "\/elementor\/v1\/globals\/colors\/(?P[\\w]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } }, { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } } ] }, "\/elementor\/v1\/globals\/typography": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/globals\/typography" } ] } }, "\/elementor\/v1\/globals\/typography\/(?P[\\w]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } }, { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } } ] }, "\/elementor\/v1\/favorites": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/favorites" } ] } }, "\/elementor\/v1\/favorites\/(?P[\\w]+)": { "namespace": "elementor\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Type of favorites.", "type": "string", "required": true }, "favorite": { "description": "The favorite slug to create.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Type of favorites.", "type": "string", "required": true }, "favorite": { "description": "The favorite slug to delete.", "type": "string", "required": true } } } ] }, "\/elementor\/v1\/kit-elements-defaults": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/kit-elements-defaults" } ] } }, "\/elementor\/v1\/kit-elements-defaults\/(?P[\\w\\-\\_]+)": { "namespace": "elementor\/v1", "methods": [ "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "type": { "type": "string", "description": "The type of the element.", "required": true }, "settings": { "description": "All the default values for the requested type", "type": "object", "required": true } } }, { "methods": [ "DELETE" ], "args": { "type": { "type": "string", "description": "The type of the element.", "required": true } } } ] }, "\/elementor\/v1\/site-navigation\/recent-posts": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "posts_per_page": { "description": "Number of posts to return", "type": "integer", "required": true }, "post_type": { "description": "Post types to retrieve", "type": "array", "default": [ "page", "post", "elementor_library" ], "required": false }, "post__not_in": { "description": "Post id`s to exclude", "type": "array", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/site-navigation\/recent-posts" } ] } }, "\/elementor\/v1\/site-navigation\/add-new-post": { "namespace": "elementor\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "post_type": { "description": "Post type to create", "type": "string", "default": "post", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/site-navigation\/add-new-post" } ] } }, "\/elementor\/v1\/template-library\/templates": { "namespace": "elementor\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "title": { "type": "string", "description": "The title of the document", "required": false }, "type": { "description": "The document type.", "type": "string", "enum": [ "page", "section", "container", "landing-page", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product", "product-archive", "loop-item" ], "required": true }, "content": { "description": "Elementor data object", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/template-library\/templates" } ] } }, "\/elementor\/v1\/global-widget\/templates": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/global-widget\/templates" } ] } }, "\/elementor-pro\/v1": { "namespace": "elementor-pro\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementor-pro\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor-pro\/v1" } ] } }, "\/elementor-pro\/v1\/posts-widget": { "namespace": "elementor-pro\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor-pro\/v1\/posts-widget" } ] } }, "\/elementor\/v1\/form-submissions": { "namespace": "elementor\/v1", "methods": [ "GET", "DELETE", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 50, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "order_by": { "description": "Sort collection by object attribute.", "type": "string", "default": "created_at", "enum": [ "created_at", "id", "main_meta_id" ], "required": false }, "status": { "description": "Limit result set to submissions assigned one or more statuses.", "type": "string", "default": "all", "enum": [ "all", "unread", "read", "trash" ], "additionalProperties": { "context": "filter" }, "required": false }, "form": { "description": "Limit result set to submissions assigned to specific forms. The form id should follow this pattern {post_id}_{element_id} e.g: 10_476d0ce", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "referer": { "description": "Limit result set to submissions assigned to specific referer.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "after": { "description": "Limit response to submissions sent after a given ISO8601 compliant date.", "type": "string", "format": "date", "additionalProperties": { "context": "filter" }, "required": false }, "before": { "description": "Limit response to submissions sent before a given ISO8601 compliant date.", "type": "string", "format": "date", "additionalProperties": { "context": "filter" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "ids": { "description": "Unique identifiers for the objects.", "type": "array", "items": { "type": "integer" }, "required": true }, "force": { "description": "Delete the object permanently.", "type": "boolean", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "ids": { "description": "Unique identifiers for the objects.", "type": "array", "items": { "type": "integer" }, "required": true }, "is_read": { "description": "mark whether the submission was read or not", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/form-submissions" } ] } }, "\/elementor\/v1\/form-submissions\/(?P[\\d]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "DELETE", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true }, "force": { "description": "Delete the object permanently.", "type": "boolean", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true }, "is_read": { "description": "mark whether the submission was read or not", "type": "boolean", "required": false }, "values": { "description": "Form field values, receive an array, the key should be the form field id and the value should be the value.", "type": "object", "required": false } } } ] }, "\/elementor\/v1\/form-submissions\/restore\/(?P[\\d]+)": { "namespace": "elementor\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } } ] }, "\/elementor\/v1\/form-submissions\/restore": { "namespace": "elementor\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "ids": { "description": "Unique identifiers for the objects.", "type": "array", "items": { "type": "integer" }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/form-submissions\/restore" } ] } }, "\/elementor\/v1\/form-submissions\/export": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 10000, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "order_by": { "description": "Sort collection by object attribute.", "type": "string", "default": "created_at", "enum": [ "created_at", "id", "main_meta_id" ], "required": false }, "status": { "description": "Limit result set to submissions assigned one or more statuses.", "type": "string", "default": "all", "enum": [ "all", "unread", "read", "trash" ], "additionalProperties": { "context": "filter" }, "required": false }, "form": { "description": "Limit result set to submissions assigned to specific forms. The form id should follow this pattern {post_id}_{element_id} e.g: 10_476d0ce", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "referer": { "description": "Limit result set to submissions assigned to specific referer.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "after": { "description": "Limit response to submissions sent after a given ISO8601 compliant date.", "type": "string", "format": "date", "additionalProperties": { "context": "filter" }, "required": false }, "before": { "description": "Limit response to submissions sent before a given ISO8601 compliant date.", "type": "string", "format": "date", "additionalProperties": { "context": "filter" }, "required": false }, "ids": { "description": "Unique identifiers for the objects.", "type": "array", "items": { "type": "integer" }, "additionalProperties": { "context": "filter" }, "required": false }, "format": { "description": "The format of the export (for now only csv).", "enum": [ "csv" ], "default": "csv", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/form-submissions\/export" } ] } }, "\/elementor\/v1\/form-submissions\/referer": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made, determines fields present in response. (only \"options\" available for now)", "type": "string", "enum": [ "options" ], "default": "options", "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "value": { "description": "Limit results specific referer.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/form-submissions\/referer" } ] } }, "\/elementor\/v1\/forms": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made, determines fields present in response. (only \"options\" available for now)", "type": "string", "enum": [ "options" ], "default": "options", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/forms" } ] } }, "\/elementor-pro\/v1\/woocommerce-module": { "namespace": "elementor-pro\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor-pro\/v1\/woocommerce-module" } ] } }, "\/elementor-pro\/v1\/set-notice-dismissed": { "namespace": "elementor-pro\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "post_id": { "type": "integer", "required": true }, "is_custom_wc_cart_notice_dismissed": { "type": "boolean", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor-pro\/v1\/set-notice-dismissed" } ] } }, "\/elementor-pro\/v1\/get-notice-dismissed\/(?P\\d+)": { "namespace": "elementor-pro\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/elementor-pro\/v1\/get-post-type-taxonomies": { "namespace": "elementor-pro\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "post_type": { "description": "The post type for which to fetch the list of taxonomies.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor-pro\/v1\/get-post-type-taxonomies" } ] } }, "\/elementor-pro\/v1\/refresh-loop": { "namespace": "elementor-pro\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "post_id": { "description": "The post ID of the page containing the loop.", "type": "integer", "required": true }, "widget_id": { "description": "The ID of the loop widget.", "type": "string", "required": true }, "widget_filters": { "description": "The filters for the loop widget.", "type": "object", "required": true }, "widget_model": { "description": "The model of the loop widget. In Editor mode only.", "type": "object", "required": false }, "pagination_base_url": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor-pro\/v1\/refresh-loop" } ] } }, "\/elementor\/v1\/notes": { "namespace": "elementor\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "route_url": { "type": "string", "description": "The URL of the route where the note was created at.", "required": false }, "status": { "type": "string", "description": "The note status (e.g. \"publish\", \"draft\").", "enum": [ "publish", "draft" ], "default": "publish", "required": false }, "is_resolved": { "type": "boolean", "description": "Whether the note is resolved or not.", "required": false }, "parent_id": { "type": "integer", "description": "The note's parent id (use 0 for top-level).", "required": false }, "post_id": { "type": "integer", "description": "The ID of the post that the note is attached to.", "required": false }, "only_unread": { "type": "boolean", "description": "Show only unread notes (represents an unread thread if one of its replies is unread).", "required": false }, "only_relevant": { "type": "boolean", "description": "Show only notes that are relevant to the current user.", "required": false }, "order_by": { "type": "string", "description": "A column to order the results by.", "default": "last_activity_at", "enum": [ "last_activity_at", "created_at" ], "required": false }, "order": { "type": "string", "description": "Results order direction.", "default": "desc", "enum": [ "asc", "desc" ], "required": false } } }, { "methods": [ "POST" ], "args": { "post_id": { "type": "integer", "description": "The id of the post where the note was created at (can be template, post, page, etc.).", "required": true }, "element_id": { "type": "string", "description": "Each note must be attached to an elementor element.", "required": true }, "content": { "type": "string", "description": "The content of the note.", "required": true }, "position": { "type": "object", "properties": { "x": { "required": true, "type": "number" }, "y": { "required": true, "type": "number" } }, "description": "The position of the note.", "required": true }, "mentioned_usernames": { "type": "array", "description": "List of user names that have been mentioned in the note's content.", "default": [], "items": { "type": "string", "sanitize_callback": [] }, "required": false }, "route_post_id": { "description": "The ID of the post that's associated with the route (doesn't always exist, e.g: home page, archive)", "required": false }, "route_url": { "type": "string", "description": "The URL of the route where the note was created at.", "required": false }, "route_title": { "type": "string", "description": "The title of the route where the note was created at.", "required": false }, "parent_id": { "type": "integer", "description": "If the new note is a reply to another note, the parent_id should be the thread's id.", "default": 0, "required": false }, "is_public": { "type": "boolean", "description": "Should this note be visible for everyone or just for its author.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/notes" } ] } }, "\/elementor\/v1\/notes\/read-status": { "namespace": "elementor\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": { "ids": { "type": "array", "description": "The id's of the notes.", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "ids": { "type": "array", "description": "The id's of the notes.", "items": { "type": "integer" }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/notes\/read-status" } ] } }, "\/elementor\/v1\/notes\/summary": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "route_url": { "type": "string", "description": "The URL of the route where the note was created at.", "required": false }, "status": { "type": "string", "description": "The note status (e.g. \"publish\", \"draft\").", "enum": [ "publish", "draft" ], "default": "publish", "required": false }, "is_resolved": { "type": "boolean", "description": "Whether the note is resolved or not.", "required": false }, "parent_id": { "type": "integer", "description": "The note's parent id (use 0 for top-level).", "required": false }, "post_id": { "type": "integer", "description": "The ID of the post that the note is attached to.", "required": false }, "only_unread": { "type": "boolean", "description": "Show only unread notes (represents an unread thread if one of its replies is unread).", "required": false }, "only_relevant": { "type": "boolean", "description": "Show only notes that are relevant to the current user.", "required": false }, "order_by": { "type": "string", "description": "A column to order the results by.", "default": "last_activity_at", "enum": [ "last_activity_at", "created_at" ], "required": false }, "order": { "type": "string", "description": "Results order direction.", "default": "desc", "enum": [ "asc", "desc" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/notes\/summary" } ] } }, "\/elementor\/v1\/notes\/users": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "limit": { "type": "integer", "description": "Limit the results.", "required": false }, "order_by": { "type": "string", "description": "A column to order the results by.", "default": "display_name", "enum": [ "user_nicename", "display_name", "user_registered" ], "required": false }, "order": { "type": "string", "description": "Results order direction.", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "search": { "type": "string", "description": "Filter users by a search term.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/notes\/users" } ] } }, "\/elementor\/v1\/notes\/(?P[\\d]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "type": "integer", "description": "Note ID to find.", "required": true } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "type": "integer", "description": "The id the note.", "required": true }, "content": { "type": "string", "description": "The content of the note.", "required": false }, "mentioned_usernames": { "type": "array", "description": "List of user names that have been mentioned in the note's content.", "items": { "type": "string", "sanitize_callback": [] }, "required": false }, "status": { "type": "string", "description": "Note status can be draft or publish.", "enum": [ "publish", "draft" ], "required": false }, "is_public": { "type": "boolean", "description": "Should this note be visible for everyone or just for its author.", "required": false }, "is_resolved": { "type": "boolean", "description": "Is this note resolved and should be hidden.", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "type": "integer", "description": "The id of the note.", "required": true }, "force": { "type": "boolean", "description": "Determine if it should be deleted permanently or change the status to trash.", "default": false, "required": false } } } ] }, "\/wc\/v1\/coupons": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Use WP Query arguments to modify the response; private query vars require appropriate authorization.", "required": false }, "code": { "description": "Limit result set to resources with a specific code.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Coupon code.", "type": "string", "required": true }, "description": { "description": "Coupon description.", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determines the type of discount that will be applied.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "amount": { "description": "The amount of discount. Should always be numeric, even if setting a percentage.", "type": "string", "required": false }, "expiry_date": { "description": "UTC DateTime when the coupon expires.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.", "type": "boolean", "required": false }, "product_ids": { "description": "List of product IDs the coupon can be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "List of product IDs the coupon cannot be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "How many times the coupon can be used in total.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "How many times the coupon can be used per customer.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Max number of items in the cart the coupon can be applied to.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "If true and if the free shipping method requires a coupon, this coupon will enable free shipping.", "type": "boolean", "required": false }, "product_categories": { "description": "List of category IDs the coupon applies to.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "List of category IDs the coupon does not apply to.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "If true, this coupon will not be applied to items that have sale prices.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimum order amount that needs to be in the cart before coupon applies.", "type": "string", "required": false }, "maximum_amount": { "description": "Maximum order amount allowed when using the coupon.", "type": "string", "required": false }, "email_restrictions": { "description": "List of email addresses that can use this coupon.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/coupons" } ] } }, "\/wc\/v1\/coupons\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "code": { "description": "Coupon code.", "type": "string", "required": false }, "description": { "description": "Coupon description.", "type": "string", "required": false }, "discount_type": { "description": "Determines the type of discount that will be applied.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "amount": { "description": "The amount of discount. Should always be numeric, even if setting a percentage.", "type": "string", "required": false }, "expiry_date": { "description": "UTC DateTime when the coupon expires.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.", "type": "boolean", "required": false }, "product_ids": { "description": "List of product IDs the coupon can be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "List of product IDs the coupon cannot be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "How many times the coupon can be used in total.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "How many times the coupon can be used per customer.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Max number of items in the cart the coupon can be applied to.", "type": "integer", "required": false }, "free_shipping": { "description": "If true and if the free shipping method requires a coupon, this coupon will enable free shipping.", "type": "boolean", "required": false }, "product_categories": { "description": "List of category IDs the coupon applies to.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "List of category IDs the coupon does not apply to.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "If true, this coupon will not be applied to items that have sale prices.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimum order amount that needs to be in the cart before coupon applies.", "type": "string", "required": false }, "maximum_amount": { "description": "Maximum order amount allowed when using the coupon.", "type": "string", "required": false }, "email_restrictions": { "description": "List of email addresses that can use this coupon.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v1\/coupons\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Coupon code.", "type": "string", "required": false }, "description": { "description": "Coupon description.", "type": "string", "required": false }, "discount_type": { "description": "Determines the type of discount that will be applied.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "amount": { "description": "The amount of discount. Should always be numeric, even if setting a percentage.", "type": "string", "required": false }, "expiry_date": { "description": "UTC DateTime when the coupon expires.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.", "type": "boolean", "required": false }, "product_ids": { "description": "List of product IDs the coupon can be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "List of product IDs the coupon cannot be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "How many times the coupon can be used in total.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "How many times the coupon can be used per customer.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Max number of items in the cart the coupon can be applied to.", "type": "integer", "required": false }, "free_shipping": { "description": "If true and if the free shipping method requires a coupon, this coupon will enable free shipping.", "type": "boolean", "required": false }, "product_categories": { "description": "List of category IDs the coupon applies to.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "List of category IDs the coupon does not apply to.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "If true, this coupon will not be applied to items that have sale prices.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimum order amount that needs to be in the cart before coupon applies.", "type": "string", "required": false }, "maximum_amount": { "description": "Maximum order amount allowed when using the coupon.", "type": "string", "required": false }, "email_restrictions": { "description": "List of email addresses that can use this coupon.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/coupons\/batch" } ] } }, "\/wc\/v1\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v1\/customers": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Order sort attribute ascending or descending.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Sort collection by object attribute.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Limit result set to resources with a specific email.", "type": "string", "format": "email", "required": false }, "role": { "description": "Limit result set to resources with a specific role.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager", "translator", "group_leader", "affiliate", "wpseo_manager", "wpseo_editor" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "New user email address.", "required": true }, "first_name": { "description": "Customer first name.", "type": "string", "required": false }, "last_name": { "description": "Customer last name.", "type": "string", "required": false }, "username": { "description": "New user username.", "type": "string", "required": false }, "password": { "description": "New user password.", "type": "string", "required": false }, "billing": { "description": "List of billing address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "List of shipping address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/customers" } ] } }, "\/wc\/v1\/customers\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "email": { "description": "The email address for the customer.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Customer first name.", "type": "string", "required": false }, "last_name": { "description": "Customer last name.", "type": "string", "required": false }, "username": { "description": "Customer login name.", "type": "string", "required": false }, "password": { "description": "Customer password.", "type": "string", "required": false }, "billing": { "description": "List of billing address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "List of shipping address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID to reassign posts to.", "required": false } } } ] }, "\/wc\/v1\/customers\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "The email address for the customer.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Customer first name.", "type": "string", "required": false }, "last_name": { "description": "Customer last name.", "type": "string", "required": false }, "username": { "description": "Customer login name.", "type": "string", "required": false }, "password": { "description": "Customer password.", "type": "string", "required": false }, "billing": { "description": "List of billing address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "List of shipping address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/customers\/batch" } ] } }, "\/wc\/v1\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Order note content.", "required": true }, "customer_note": { "default": false, "description": "Shows\/define if the note is only for reference or for the customer (the user will be notified).", "type": "boolean", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Use WP Query arguments to modify the response; private query vars require appropriate authorization.", "required": false }, "status": { "default": "any", "description": "Limit result set to orders assigned a specific status.", "type": "string", "enum": [ "any", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "customer": { "description": "Limit result set to orders assigned a specific customer.", "type": "integer", "required": false }, "product": { "description": "Limit result set to orders assigned a specific product.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Number of decimal points to use in each resource.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "amount": { "description": "Refund amount.", "type": "string", "required": false }, "reason": { "description": "Reason for refund.", "type": "string", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/orders": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Use WP Query arguments to modify the response; private query vars require appropriate authorization.", "required": false }, "status": { "default": "any", "description": "Limit result set to orders assigned a specific status.", "type": "string", "enum": [ "any", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "customer": { "description": "Limit result set to orders assigned a specific customer.", "type": "integer", "required": false }, "product": { "description": "Limit result set to orders assigned a specific product.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Number of decimal points to use in each resource.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Order status.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "EUR", "description": "Currency the order was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "User ID who owns the order. 0 for guests.", "type": "integer", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "set_paid": { "default": false, "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unique transaction ID.", "type": "string", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Line item meta data.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta label.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/orders" } ] } }, "\/wc\/v1\/orders\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "description": "Order status.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Currency the order was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "User ID who owns the order. 0 for guests.", "type": "integer", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "set_paid": { "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unique transaction ID.", "type": "string", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Line item meta data.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta label.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v1\/orders\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "description": "Order status.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Currency the order was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "User ID who owns the order. 0 for guests.", "type": "integer", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "set_paid": { "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unique transaction ID.", "type": "string", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Line item meta data.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta label.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/orders\/batch" } ] } }, "\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by resource attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide resources not assigned to any products.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Limit result set to resources assigned to a specific product.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to resources with a specific slug.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Name for the resource.", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } } ] }, "\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "name": { "description": "Term name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/products\/attributes\/(?P[\\d]+)\/terms\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "name": { "description": "Term name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } } ] }, "\/wc\/v1\/products\/attributes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Name for the resource.", "type": "string", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "type": { "default": "select", "description": "Type of attribute.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Default sort order.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Enable\/Disable attribute archives.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/products\/attributes" } ] } }, "\/wc\/v1\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Attribute name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "type": { "description": "Type of attribute.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Default sort order.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Enable\/Disable attribute archives.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/products\/attributes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Attribute name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "type": { "description": "Type of attribute.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Default sort order.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Enable\/Disable attribute archives.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/products\/attributes\/batch" } ] } }, "\/wc\/v1\/products\/categories": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by resource attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide resources not assigned to any products.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Limit result set to resources assigned to a specific product.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to resources with a specific slug.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Name for the resource.", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the resource.", "type": "integer", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "display": { "default": "default", "description": "Category archive display type.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/products\/categories" } ] } }, "\/wc\/v1\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Category name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the resource.", "type": "integer", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "display": { "description": "Category archive display type.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/products\/categories\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Category name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the resource.", "type": "integer", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "display": { "description": "Category archive display type.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/products\/categories\/batch" } ] } }, "\/wc\/v1\/products\/(?P[\\d]+)\/reviews": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the variation.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the variation.", "type": "integer", "required": false }, "review": { "type": "string", "description": "Review content.", "required": true }, "date_created": { "description": "The date the review was created, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "Review rating (0 to 5).", "type": "integer", "required": false }, "name": { "type": "string", "description": "Name of the reviewer.", "required": true }, "email": { "type": "string", "description": "Email of the reviewer.", "required": true } } } ] }, "\/wc\/v1\/products\/(?P[\\d]+)\/reviews\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "review": { "description": "The content of the review.", "type": "string", "required": false }, "date_created": { "description": "The date the review was created, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "Review rating (0 to 5).", "type": "integer", "required": false }, "name": { "description": "Reviewer name.", "type": "string", "required": false }, "email": { "description": "Reviewer email.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v1\/products\/shipping_classes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by resource attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide resources not assigned to any products.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Limit result set to resources assigned to a specific product.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to resources with a specific slug.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Name for the resource.", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/products\/shipping_classes" } ] } }, "\/wc\/v1\/products\/shipping_classes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Shipping class name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/products\/shipping_classes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Shipping class name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v1\/products\/tags": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by resource attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide resources not assigned to any products.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Limit result set to resources assigned to a specific product.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to resources with a specific slug.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Name for the resource.", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/products\/tags" } ] } }, "\/wc\/v1\/products\/tags\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Tag name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/products\/tags\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Tag name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/products\/tags\/batch" } ] } }, "\/wc\/v1\/products": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Use WP Query arguments to modify the response; private query vars require appropriate authorization.", "required": false }, "slug": { "description": "Limit result set to products with a specific slug.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limit result set to products assigned a specific status.", "type": "string", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limit result set to products assigned a specific type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "category": { "description": "Limit result set to products assigned a specific category ID.", "type": "string", "required": false }, "tag": { "description": "Limit result set to products assigned a specific tag ID.", "type": "string", "required": false }, "shipping_class": { "description": "Limit result set to products assigned a specific shipping class ID.", "type": "string", "required": false }, "attribute": { "description": "Limit result set to products with a specific attribute.", "type": "string", "required": false }, "attribute_term": { "description": "Limit result set to products with a specific attribute term ID (required an assigned attribute).", "type": "string", "required": false }, "sku": { "description": "Limit result set to products with a specific SKU.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Product name.", "type": "string", "required": false }, "slug": { "description": "Product slug.", "type": "string", "required": false }, "type": { "default": "simple", "description": "Product type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "status": { "default": "publish", "description": "Product status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "default": false, "description": "Featured product.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Catalog visibility.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Product description.", "type": "string", "required": false }, "short_description": { "description": "Product short description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Product regular price.", "type": "string", "required": false }, "sale_price": { "description": "Product sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price.", "type": "string", "required": false }, "date_on_sale_to": { "description": "End date of sale price.", "type": "string", "required": false }, "virtual": { "default": false, "description": "If the product is virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "If the product is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "download_type": { "default": "standard", "description": "Download type, this controls the schema on the front-end.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "Product external URL. Only for external products.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Product external button text. Only for external products.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Stock management at product level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "default": false, "description": "Allow one item to be bought in a single order.", "type": "boolean", "required": false }, "weight": { "description": "Product weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Product dimensions.", "type": "object", "properties": { "length": { "description": "Product length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Product width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Product height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Allow reviews.", "type": "boolean", "required": false }, "upsell_ids": { "description": "List of upsell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Optional note to send the customer after purchase.", "type": "string", "required": false }, "categories": { "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "List of images.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Image position. 0 means that the image is featured.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "List of variations.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Variation ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "The date the variation was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the variation was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "Variation URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Unique identifier.", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Current variation price.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Variation regular price.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Variation sale price.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "Start date of sale price.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "End date of sale price.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "Shows if the variation is on sale.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "Shows if the variation can be bought.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "If the variation is visible.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "If the variation is virtual.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "If the variation is downloadable.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "List of downloadable files.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status.", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Stock management at variation level.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "Shows if backorders are allowed.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "Shows if the variation is on backordered.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Variation weight (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Variation dimensions.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "Shipping class ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Variation image data.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Image position. 0 means that the image is featured.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "List of attributes.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/products" } ] } }, "\/wc\/v1\/products\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Product name.", "type": "string", "required": false }, "slug": { "description": "Product slug.", "type": "string", "required": false }, "type": { "description": "Product type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "status": { "description": "Product status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Featured product.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Catalog visibility.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Product description.", "type": "string", "required": false }, "short_description": { "description": "Product short description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Product regular price.", "type": "string", "required": false }, "sale_price": { "description": "Product sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price.", "type": "string", "required": false }, "date_on_sale_to": { "description": "End date of sale price.", "type": "string", "required": false }, "virtual": { "description": "If the product is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the product is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "download_type": { "description": "Download type, this controls the schema on the front-end.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "Product external URL. Only for external products.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Product external button text. Only for external products.", "type": "string", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at product level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "in_stock": { "description": "Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.", "type": "boolean", "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Allow one item to be bought in a single order.", "type": "boolean", "required": false }, "weight": { "description": "Product weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Product dimensions.", "type": "object", "properties": { "length": { "description": "Product length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Product width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Product height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "reviews_allowed": { "description": "Allow reviews.", "type": "boolean", "required": false }, "upsell_ids": { "description": "List of upsell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Optional note to send the customer after purchase.", "type": "string", "required": false }, "categories": { "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "List of images.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Image position. 0 means that the image is featured.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "List of variations.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Variation ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "The date the variation was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the variation was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "Variation URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Unique identifier.", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Current variation price.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Variation regular price.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Variation sale price.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "Start date of sale price.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "End date of sale price.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "Shows if the variation is on sale.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "Shows if the variation can be bought.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "If the variation is visible.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "If the variation is virtual.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "If the variation is downloadable.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "List of downloadable files.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status.", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Stock management at variation level.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "Shows if backorders are allowed.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "Shows if the variation is on backordered.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Variation weight (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Variation dimensions.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "Shipping class ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Variation image data.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Image position. 0 means that the image is featured.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "List of attributes.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "description": "Whether to bypass trash and force deletion.", "type": "boolean", "required": false } } } ] }, "\/wc\/v1\/products\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Product name.", "type": "string", "required": false }, "slug": { "description": "Product slug.", "type": "string", "required": false }, "type": { "description": "Product type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "status": { "description": "Product status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Featured product.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Catalog visibility.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Product description.", "type": "string", "required": false }, "short_description": { "description": "Product short description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Product regular price.", "type": "string", "required": false }, "sale_price": { "description": "Product sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price.", "type": "string", "required": false }, "date_on_sale_to": { "description": "End date of sale price.", "type": "string", "required": false }, "virtual": { "description": "If the product is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the product is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "download_type": { "description": "Download type, this controls the schema on the front-end.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "Product external URL. Only for external products.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Product external button text. Only for external products.", "type": "string", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at product level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "in_stock": { "description": "Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.", "type": "boolean", "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Allow one item to be bought in a single order.", "type": "boolean", "required": false }, "weight": { "description": "Product weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Product dimensions.", "type": "object", "properties": { "length": { "description": "Product length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Product width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Product height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "reviews_allowed": { "description": "Allow reviews.", "type": "boolean", "required": false }, "upsell_ids": { "description": "List of upsell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Optional note to send the customer after purchase.", "type": "string", "required": false }, "categories": { "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "List of images.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Image position. 0 means that the image is featured.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "List of variations.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Variation ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "The date the variation was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the variation was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "Variation URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Unique identifier.", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Current variation price.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Variation regular price.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Variation sale price.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "Start date of sale price.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "End date of sale price.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "Shows if the variation is on sale.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "Shows if the variation can be bought.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "If the variation is visible.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "If the variation is virtual.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "If the variation is downloadable.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "List of downloadable files.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status.", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Stock management at variation level.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "Shows if backorders are allowed.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "Shows if the variation is on backordered.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Variation weight (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Variation dimensions.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "Shipping class ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Variation image data.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Image position. 0 means that the image is featured.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "List of attributes.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/products\/batch" } ] } }, "\/wc\/v1\/reports\/sales": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Report period.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/reports\/sales" } ] } }, "\/wc\/v1\/reports\/top_sellers": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Report period.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/reports\/top_sellers" } ] } }, "\/wc\/v1\/reports": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/reports" } ] } }, "\/wc\/v1\/taxes\/classes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Tax class name.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/taxes\/classes" } ] } }, "\/wc\/v1\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v1", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "slug": { "description": "Unique slug for the resource.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/taxes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Order sort attribute ascending or descending.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Sort collection by object attribute.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Sort by tax class.", "enum": [ "standard", "reduced-rate", "stopnja-nic", "zero-rate", "znizana-stopnja" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Country ISO 3166 code.", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "Postcode \/ ZIP.", "type": "string", "required": false }, "city": { "description": "City name.", "type": "string", "required": false }, "rate": { "description": "Tax rate.", "type": "string", "required": false }, "name": { "description": "Tax rate name.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Tax priority.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Whether or not this is a compound rate.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Whether or not this tax rate also gets applied to shipping.", "type": "boolean", "required": false }, "order": { "description": "Indicates the order that will appear in queries.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Tax class.", "type": "string", "enum": [ "standard", "reduced-rate", "stopnja-nic", "zero-rate", "znizana-stopnja" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/taxes" } ] } }, "\/wc\/v1\/taxes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "country": { "description": "Country ISO 3166 code.", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "Postcode \/ ZIP.", "type": "string", "required": false }, "city": { "description": "City name.", "type": "string", "required": false }, "rate": { "description": "Tax rate.", "type": "string", "required": false }, "name": { "description": "Tax rate name.", "type": "string", "required": false }, "priority": { "description": "Tax priority.", "type": "integer", "required": false }, "compound": { "description": "Whether or not this is a compound rate.", "type": "boolean", "required": false }, "shipping": { "description": "Whether or not this tax rate also gets applied to shipping.", "type": "boolean", "required": false }, "order": { "description": "Indicates the order that will appear in queries.", "type": "integer", "required": false }, "class": { "description": "Tax class.", "type": "string", "enum": [ "standard", "reduced-rate", "stopnja-nic", "zero-rate", "znizana-stopnja" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/taxes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Country ISO 3166 code.", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "Postcode \/ ZIP.", "type": "string", "required": false }, "city": { "description": "City name.", "type": "string", "required": false }, "rate": { "description": "Tax rate.", "type": "string", "required": false }, "name": { "description": "Tax rate name.", "type": "string", "required": false }, "priority": { "description": "Tax priority.", "type": "integer", "required": false }, "compound": { "description": "Whether or not this is a compound rate.", "type": "boolean", "required": false }, "shipping": { "description": "Whether or not this tax rate also gets applied to shipping.", "type": "boolean", "required": false }, "order": { "description": "Indicates the order that will appear in queries.", "type": "integer", "required": false }, "class": { "description": "Tax class.", "type": "string", "enum": [ "standard", "reduced-rate", "stopnja-nic", "zero-rate", "znizana-stopnja" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/taxes\/batch" } ] } }, "\/wc\/v1\/webhooks": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Limit result set to webhooks assigned a specific status.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "default": "active", "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Webhook topic.", "required": true }, "secret": { "description": "Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "Webhook delivery URL.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/webhooks" } ] } }, "\/wc\/v1\/webhooks\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook topic.", "type": "string", "required": false }, "secret": { "description": "Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v1\/webhooks\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook topic.", "type": "string", "required": false }, "secret": { "description": "Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/webhooks\/batch" } ] } }, "\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Unique identifier for the webhook.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Unique identifier for the webhook.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v2": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/v2", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2" } ] } }, "\/wc\/v2\/coupons": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Limit result set to resources with a specific code.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Coupon code.", "type": "string", "required": true }, "amount": { "description": "The amount of discount. Should always be numeric, even if setting a percentage.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determines the type of discount that will be applied.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Coupon description.", "type": "string", "required": false }, "date_expires": { "description": "The date the coupon expires, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "The date the coupon expires, as GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.", "type": "boolean", "required": false }, "product_ids": { "description": "List of product IDs the coupon can be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "List of product IDs the coupon cannot be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "How many times the coupon can be used in total.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "How many times the coupon can be used per customer.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Max number of items in the cart the coupon can be applied to.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "If true and if the free shipping method requires a coupon, this coupon will enable free shipping.", "type": "boolean", "required": false }, "product_categories": { "description": "List of category IDs the coupon applies to.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "List of category IDs the coupon does not apply to.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "If true, this coupon will not be applied to items that have sale prices.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimum order amount that needs to be in the cart before coupon applies.", "type": "string", "required": false }, "maximum_amount": { "description": "Maximum order amount allowed when using the coupon.", "type": "string", "required": false }, "email_restrictions": { "description": "List of email addresses that can use this coupon.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/coupons" } ] } }, "\/wc\/v2\/coupons\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "code": { "description": "Coupon code.", "type": "string", "required": false }, "amount": { "description": "The amount of discount. Should always be numeric, even if setting a percentage.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "description": "Determines the type of discount that will be applied.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Coupon description.", "type": "string", "required": false }, "date_expires": { "description": "The date the coupon expires, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "The date the coupon expires, as GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.", "type": "boolean", "required": false }, "product_ids": { "description": "List of product IDs the coupon can be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "List of product IDs the coupon cannot be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "How many times the coupon can be used in total.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "How many times the coupon can be used per customer.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Max number of items in the cart the coupon can be applied to.", "type": "integer", "required": false }, "free_shipping": { "description": "If true and if the free shipping method requires a coupon, this coupon will enable free shipping.", "type": "boolean", "required": false }, "product_categories": { "description": "List of category IDs the coupon applies to.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "List of category IDs the coupon does not apply to.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "If true, this coupon will not be applied to items that have sale prices.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimum order amount that needs to be in the cart before coupon applies.", "type": "string", "required": false }, "maximum_amount": { "description": "Maximum order amount allowed when using the coupon.", "type": "string", "required": false }, "email_restrictions": { "description": "List of email addresses that can use this coupon.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v2\/coupons\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Coupon code.", "type": "string", "required": false }, "amount": { "description": "The amount of discount. Should always be numeric, even if setting a percentage.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "description": "Determines the type of discount that will be applied.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Coupon description.", "type": "string", "required": false }, "date_expires": { "description": "The date the coupon expires, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "The date the coupon expires, as GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.", "type": "boolean", "required": false }, "product_ids": { "description": "List of product IDs the coupon can be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "List of product IDs the coupon cannot be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "How many times the coupon can be used in total.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "How many times the coupon can be used per customer.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Max number of items in the cart the coupon can be applied to.", "type": "integer", "required": false }, "free_shipping": { "description": "If true and if the free shipping method requires a coupon, this coupon will enable free shipping.", "type": "boolean", "required": false }, "product_categories": { "description": "List of category IDs the coupon applies to.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "List of category IDs the coupon does not apply to.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "If true, this coupon will not be applied to items that have sale prices.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimum order amount that needs to be in the cart before coupon applies.", "type": "string", "required": false }, "maximum_amount": { "description": "Maximum order amount allowed when using the coupon.", "type": "string", "required": false }, "email_restrictions": { "description": "List of email addresses that can use this coupon.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/coupons\/batch" } ] } }, "\/wc\/v2\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/customers": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Order sort attribute ascending or descending.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Sort collection by object attribute.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Limit result set to resources with a specific email.", "type": "string", "format": "email", "required": false }, "role": { "description": "Limit result set to resources with a specific role.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager", "translator", "group_leader", "affiliate", "wpseo_manager", "wpseo_editor" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "New user email address.", "required": true }, "first_name": { "description": "Customer first name.", "type": "string", "required": false }, "last_name": { "description": "Customer last name.", "type": "string", "required": false }, "username": { "description": "New user username.", "type": "string", "required": false }, "password": { "description": "New user password.", "type": "string", "required": false }, "billing": { "description": "List of billing address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "List of shipping address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/customers" } ] } }, "\/wc\/v2\/customers\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "email": { "description": "The email address for the customer.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Customer first name.", "type": "string", "required": false }, "last_name": { "description": "Customer last name.", "type": "string", "required": false }, "username": { "description": "Customer login name.", "type": "string", "required": false }, "password": { "description": "Customer password.", "type": "string", "required": false }, "billing": { "description": "List of billing address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "List of shipping address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID to reassign posts to.", "required": false } } } ] }, "\/wc\/v2\/customers\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "The email address for the customer.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Customer first name.", "type": "string", "required": false }, "last_name": { "description": "Customer last name.", "type": "string", "required": false }, "username": { "description": "Customer login name.", "type": "string", "required": false }, "password": { "description": "Customer password.", "type": "string", "required": false }, "billing": { "description": "List of billing address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "List of shipping address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/customers\/batch" } ] } }, "\/wc\/v2\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "type": { "default": "any", "description": "Limit result to customers or internal notes.", "type": "string", "enum": [ "any", "customer", "internal" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Order note content.", "required": true }, "customer_note": { "default": false, "description": "If true, the note will be shown to customers and they will be notified. If false, the note will be for admin reference only.", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 2, "description": "Number of decimal points to use in each resource.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Only show meta which is meant to be displayed for an order.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "amount": { "description": "Refund amount.", "type": "string", "required": false }, "reason": { "description": "Reason for refund.", "type": "string", "required": false }, "refunded_by": { "description": "User ID of user who created the refund.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "api_refund": { "default": true, "description": "When true, the payment gateway API is used to generate the refund.", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/orders": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Limit result set to orders assigned a specific status.", "type": "string", "enum": [ "any", "trash", "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "customer": { "description": "Limit result set to orders assigned a specific customer.", "type": "integer", "required": false }, "product": { "description": "Limit result set to orders assigned a specific product.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Number of decimal points to use in each resource.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Only show meta which is meant to be displayed for an order.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Order status.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "EUR", "description": "Currency the order was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "User ID who owns the order. 0 for guests.", "type": "integer", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "transaction_id": { "description": "Unique transaction ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Whether the coupon grants free shipping or not.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/orders" } ] } }, "\/wc\/v2\/orders\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "description": "Order status.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Currency the order was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "User ID who owns the order. 0 for guests.", "type": "integer", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "transaction_id": { "description": "Unique transaction ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Whether the coupon grants free shipping or not.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v2\/orders\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "description": "Order status.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Currency the order was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "User ID who owns the order. 0 for guests.", "type": "integer", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "transaction_id": { "description": "Unique transaction ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Whether the coupon grants free shipping or not.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/orders\/batch" } ] } }, "\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by resource attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide resources not assigned to any products.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Limit result set to resources assigned to a specific product.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to resources with a specific slug.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Name for the resource.", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } } ] }, "\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "name": { "description": "Term name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/products\/attributes\/(?P[\\d]+)\/terms\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "name": { "description": "Term name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } } ] }, "\/wc\/v2\/products\/attributes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Name for the resource.", "type": "string", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "type": { "default": "select", "description": "Type of attribute.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Default sort order.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Enable\/Disable attribute archives.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/products\/attributes" } ] } }, "\/wc\/v2\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Attribute name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "type": { "description": "Type of attribute.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Default sort order.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Enable\/Disable attribute archives.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/products\/attributes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Attribute name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "type": { "description": "Type of attribute.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Default sort order.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Enable\/Disable attribute archives.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/products\/attributes\/batch" } ] } }, "\/wc\/v2\/products\/categories": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by resource attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide resources not assigned to any products.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Limit result set to resources assigned to a specific product.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to resources with a specific slug.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Name for the resource.", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the resource.", "type": "integer", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "display": { "default": "default", "description": "Category archive display type.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/products\/categories" } ] } }, "\/wc\/v2\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Category name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the resource.", "type": "integer", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "display": { "description": "Category archive display type.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/products\/categories\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Category name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the resource.", "type": "integer", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "display": { "description": "Category archive display type.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/products\/categories\/batch" } ] } }, "\/wc\/v2\/products\/(?P[\\d]+)\/reviews": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the variation.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the variation.", "type": "integer", "required": false }, "review": { "type": "string", "description": "Review content.", "required": true }, "date_created": { "description": "The date the review was created, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "The date the review was created, as GMT.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "Review rating (0 to 5).", "type": "integer", "required": false }, "name": { "type": "string", "description": "Name of the reviewer.", "required": true }, "email": { "type": "string", "description": "Email of the reviewer.", "required": true } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/reviews\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "review": { "description": "The content of the review.", "type": "string", "required": false }, "date_created": { "description": "The date the review was created, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "The date the review was created, as GMT.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "Review rating (0 to 5).", "type": "integer", "required": false }, "name": { "description": "Reviewer name.", "type": "string", "required": false }, "email": { "description": "Reviewer email.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/reviews\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "review": { "description": "The content of the review.", "type": "string", "required": false }, "date_created": { "description": "The date the review was created, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "The date the review was created, as GMT.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "Review rating (0 to 5).", "type": "integer", "required": false }, "name": { "description": "Reviewer name.", "type": "string", "required": false }, "email": { "description": "Reviewer email.", "type": "string", "required": false } } } ] }, "\/wc\/v2\/products\/shipping_classes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by resource attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide resources not assigned to any products.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Limit result set to resources assigned to a specific product.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to resources with a specific slug.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Name for the resource.", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/products\/shipping_classes" } ] } }, "\/wc\/v2\/products\/shipping_classes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Shipping class name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/products\/shipping_classes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Shipping class name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v2\/products\/tags": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by resource attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide resources not assigned to any products.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Limit result set to resources assigned to a specific product.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to resources with a specific slug.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Name for the resource.", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/products\/tags" } ] } }, "\/wc\/v2\/products\/tags\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Tag name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/products\/tags\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Tag name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/products\/tags\/batch" } ] } }, "\/wc\/v2\/products": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limit result set to products with a specific slug.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limit result set to products assigned a specific status.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limit result set to products assigned a specific type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "sku": { "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string", "required": false }, "featured": { "description": "Limit result set to featured products.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a specific category ID.", "type": "string", "required": false }, "tag": { "description": "Limit result set to products assigned a specific tag ID.", "type": "string", "required": false }, "shipping_class": { "description": "Limit result set to products assigned a specific shipping class ID.", "type": "string", "required": false }, "attribute": { "description": "Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.", "type": "string", "required": false }, "attribute_term": { "description": "Limit result set to products with a specific attribute term ID (required an assigned attribute).", "type": "string", "required": false }, "in_stock": { "description": "Limit result set to products in stock or out of stock.", "type": "boolean", "required": false }, "on_sale": { "description": "Limit result set to products on sale.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Product name.", "type": "string", "required": false }, "slug": { "description": "Product slug.", "type": "string", "required": false }, "type": { "default": "simple", "description": "Product type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "status": { "default": "publish", "description": "Product status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "default": false, "description": "Featured product.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Catalog visibility.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Product description.", "type": "string", "required": false }, "short_description": { "description": "Product short description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Product regular price.", "type": "string", "required": false }, "sale_price": { "description": "Product sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "If the product is virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "If the product is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "external_url": { "description": "Product external URL. Only for external products.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Product external button text. Only for external products.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Stock management at product level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "default": false, "description": "Allow one item to be bought in a single order.", "type": "boolean", "required": false }, "weight": { "description": "Product weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Product dimensions.", "type": "object", "properties": { "length": { "description": "Product length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Product width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Product height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Allow reviews.", "type": "boolean", "required": false }, "upsell_ids": { "description": "List of up-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Optional note to send the customer after purchase.", "type": "string", "required": false }, "categories": { "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "List of images.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Image position. 0 means that the image is featured.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "List of grouped products ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/products" } ] } }, "\/wc\/v2\/products\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Product name.", "type": "string", "required": false }, "slug": { "description": "Product slug.", "type": "string", "required": false }, "type": { "description": "Product type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "status": { "description": "Product status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Featured product.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Catalog visibility.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Product description.", "type": "string", "required": false }, "short_description": { "description": "Product short description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Product regular price.", "type": "string", "required": false }, "sale_price": { "description": "Product sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "If the product is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the product is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "external_url": { "description": "Product external URL. Only for external products.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Product external button text. Only for external products.", "type": "string", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at product level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "in_stock": { "description": "Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.", "type": "boolean", "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Allow one item to be bought in a single order.", "type": "boolean", "required": false }, "weight": { "description": "Product weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Product dimensions.", "type": "object", "properties": { "length": { "description": "Product length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Product width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Product height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "reviews_allowed": { "description": "Allow reviews.", "type": "boolean", "required": false }, "upsell_ids": { "description": "List of up-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Optional note to send the customer after purchase.", "type": "string", "required": false }, "categories": { "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "List of images.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Image position. 0 means that the image is featured.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "List of grouped products ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "description": "Whether to bypass trash and force deletion.", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/products\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Product name.", "type": "string", "required": false }, "slug": { "description": "Product slug.", "type": "string", "required": false }, "type": { "description": "Product type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "status": { "description": "Product status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Featured product.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Catalog visibility.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Product description.", "type": "string", "required": false }, "short_description": { "description": "Product short description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Product regular price.", "type": "string", "required": false }, "sale_price": { "description": "Product sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "If the product is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the product is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "external_url": { "description": "Product external URL. Only for external products.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Product external button text. Only for external products.", "type": "string", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at product level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "in_stock": { "description": "Controls whether or not the product is listed as \"in stock\" or \"out of stock\" on the frontend.", "type": "boolean", "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Allow one item to be bought in a single order.", "type": "boolean", "required": false }, "weight": { "description": "Product weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Product dimensions.", "type": "object", "properties": { "length": { "description": "Product length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Product width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Product height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "reviews_allowed": { "description": "Allow reviews.", "type": "boolean", "required": false }, "upsell_ids": { "description": "List of up-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Optional note to send the customer after purchase.", "type": "string", "required": false }, "categories": { "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "List of images.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Image position. 0 means that the image is featured.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "List of grouped products ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/products\/batch" } ] } }, "\/wc\/v2\/products\/(?P[\\d]+)\/variations": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limit result set to products with a specific slug.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limit result set to products assigned a specific status.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limit result set to products assigned a specific type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "sku": { "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string", "required": false }, "featured": { "description": "Limit result set to featured products.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a specific category ID.", "type": "string", "required": false }, "tag": { "description": "Limit result set to products assigned a specific tag ID.", "type": "string", "required": false }, "shipping_class": { "description": "Limit result set to products assigned a specific shipping class ID.", "type": "string", "required": false }, "attribute": { "description": "Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.", "type": "string", "required": false }, "attribute_term": { "description": "Limit result set to products with a specific attribute term ID (required an assigned attribute).", "type": "string", "required": false }, "in_stock": { "description": "Limit result set to products in stock or out of stock.", "type": "boolean", "required": false }, "on_sale": { "description": "Limit result set to products on sale.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "description": { "description": "Variation description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Variation regular price.", "type": "string", "required": false }, "sale_price": { "description": "Variation sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "visible": { "default": true, "description": "Define if the variation is visible on the product's page.", "type": "boolean", "required": false }, "virtual": { "default": false, "description": "If the variation is virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "If the variation is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Stock management at variation level.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Variation weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "image": { "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Image position. 0 means that the image is featured.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the variation.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the variation.", "type": "integer", "required": false }, "description": { "description": "Variation description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Variation regular price.", "type": "string", "required": false }, "sale_price": { "description": "Variation sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "visible": { "description": "Define if the variation is visible on the product's page.", "type": "boolean", "required": false }, "virtual": { "description": "If the variation is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the variation is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at variation level.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "in_stock": { "description": "Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.", "type": "boolean", "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Variation weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "image": { "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Image position. 0 means that the image is featured.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the variation.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/variations\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "description": { "description": "Variation description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Variation regular price.", "type": "string", "required": false }, "sale_price": { "description": "Variation sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "visible": { "description": "Define if the variation is visible on the product's page.", "type": "boolean", "required": false }, "virtual": { "description": "If the variation is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the variation is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at variation level.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "in_stock": { "description": "Controls whether or not the variation is listed as \"in stock\" or \"out of stock\" on the frontend.", "type": "boolean", "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Variation weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "image": { "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Image position. 0 means that the image is featured.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v2\/reports\/sales": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Report period.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/reports\/sales" } ] } }, "\/wc\/v2\/reports\/top_sellers": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Report period.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/reports\/top_sellers" } ] } }, "\/wc\/v2\/reports": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/reports" } ] } }, "\/wc\/v2\/settings": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/settings" } ] } }, "\/wc\/v2\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "Settings group ID.", "type": "string", "required": false } } } ] }, "\/wc\/v2\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Settings group ID.", "type": "string", "required": false }, "value": { "description": "Setting value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v2\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "Settings group ID.", "type": "string", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Settings group ID.", "type": "string", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "value": { "description": "Setting value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v2\/shipping\/zones": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Shipping zone name.", "required": true }, "order": { "description": "Shipping zone order.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/shipping\/zones" } ] } }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique ID for the resource.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique ID for the resource.", "type": "integer", "required": false }, "name": { "description": "Shipping zone name.", "type": "string", "required": false }, "order": { "description": "Shipping zone order.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique ID for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/locations": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique ID for the resource.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique ID for the resource.", "type": "integer", "required": false }, "code": { "description": "Shipping zone location code.", "type": "string", "required": false }, "type": { "description": "Shipping zone location type.", "type": "string", "enum": [ "postcode", "state", "country", "continent" ], "required": false } } } ] }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/methods": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "description": "Unique ID for the zone.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "zone_id": { "description": "Unique ID for the zone.", "type": "integer", "required": false }, "order": { "description": "Shipping method sort order.", "type": "integer", "required": false }, "enabled": { "description": "Shipping method enabled status.", "type": "boolean", "required": false }, "settings": { "description": "Shipping method settings.", "type": "object", "properties": { "id": { "description": "A unique identifier for the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "A human readable label for the setting used in interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "A human readable description for the setting used in interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Type of setting.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Setting value.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Default value for the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Additional help text shown to the user about the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Placeholder text to be displayed in text inputs.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "method_id": { "description": "Shipping method ID.", "required": true } } } ] }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/methods\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "description": "Unique ID for the zone.", "type": "integer", "required": false }, "instance_id": { "description": "Unique ID for the instance.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "description": "Unique ID for the zone.", "type": "integer", "required": false }, "instance_id": { "description": "Unique ID for the instance.", "type": "integer", "required": false }, "order": { "description": "Shipping method sort order.", "type": "integer", "required": false }, "enabled": { "description": "Shipping method enabled status.", "type": "boolean", "required": false }, "settings": { "description": "Shipping method settings.", "type": "object", "properties": { "id": { "description": "A unique identifier for the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "A human readable label for the setting used in interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "A human readable description for the setting used in interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Type of setting.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Setting value.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Default value for the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Additional help text shown to the user about the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Placeholder text to be displayed in text inputs.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "description": "Unique ID for the zone.", "type": "integer", "required": false }, "instance_id": { "description": "Unique ID for the instance.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v2\/taxes\/classes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Tax class name.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/taxes\/classes" } ] } }, "\/wc\/v2\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Unique slug for the resource.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "slug": { "description": "Unique slug for the resource.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/taxes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Order sort attribute ascending or descending.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Sort collection by object attribute.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Sort by tax class.", "enum": [ "standard", "reduced-rate", "stopnja-nic", "zero-rate", "znizana-stopnja" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Country ISO 3166 code.", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "Postcode \/ ZIP.", "type": "string", "required": false }, "city": { "description": "City name.", "type": "string", "required": false }, "rate": { "description": "Tax rate.", "type": "string", "required": false }, "name": { "description": "Tax rate name.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Tax priority.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Whether or not this is a compound rate.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Whether or not this tax rate also gets applied to shipping.", "type": "boolean", "required": false }, "order": { "description": "Indicates the order that will appear in queries.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Tax class.", "type": "string", "enum": [ "standard", "reduced-rate", "stopnja-nic", "zero-rate", "znizana-stopnja" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/taxes" } ] } }, "\/wc\/v2\/taxes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "country": { "description": "Country ISO 3166 code.", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "Postcode \/ ZIP.", "type": "string", "required": false }, "city": { "description": "City name.", "type": "string", "required": false }, "rate": { "description": "Tax rate.", "type": "string", "required": false }, "name": { "description": "Tax rate name.", "type": "string", "required": false }, "priority": { "description": "Tax priority.", "type": "integer", "required": false }, "compound": { "description": "Whether or not this is a compound rate.", "type": "boolean", "required": false }, "shipping": { "description": "Whether or not this tax rate also gets applied to shipping.", "type": "boolean", "required": false }, "order": { "description": "Indicates the order that will appear in queries.", "type": "integer", "required": false }, "class": { "description": "Tax class.", "type": "string", "enum": [ "standard", "reduced-rate", "stopnja-nic", "zero-rate", "znizana-stopnja" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/taxes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Country ISO 3166 code.", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "Postcode \/ ZIP.", "type": "string", "required": false }, "city": { "description": "City name.", "type": "string", "required": false }, "rate": { "description": "Tax rate.", "type": "string", "required": false }, "name": { "description": "Tax rate name.", "type": "string", "required": false }, "priority": { "description": "Tax priority.", "type": "integer", "required": false }, "compound": { "description": "Whether or not this is a compound rate.", "type": "boolean", "required": false }, "shipping": { "description": "Whether or not this tax rate also gets applied to shipping.", "type": "boolean", "required": false }, "order": { "description": "Indicates the order that will appear in queries.", "type": "integer", "required": false }, "class": { "description": "Tax class.", "type": "string", "enum": [ "standard", "reduced-rate", "stopnja-nic", "zero-rate", "znizana-stopnja" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/taxes\/batch" } ] } }, "\/wc\/v2\/webhooks": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Limit result set to webhooks assigned a specific status.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "default": "active", "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Webhook topic.", "required": true }, "secret": { "description": "Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "Webhook delivery URL.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/webhooks" } ] } }, "\/wc\/v2\/webhooks\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook topic.", "type": "string", "required": false }, "secret": { "description": "Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v2\/webhooks\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook topic.", "type": "string", "required": false }, "secret": { "description": "Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/webhooks\/batch" } ] } }, "\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Unique identifier for the webhook.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Unique identifier for the webhook.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/system_status": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/system_status" } ] } }, "\/wc\/v2\/system_status\/tools": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/system_status\/tools" } ] } }, "\/wc\/v2\/system_status\/tools\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "A unique identifier for the tool.", "type": "string", "required": false }, "name": { "description": "Tool name.", "type": "string", "required": false }, "action": { "description": "What running the tool will do.", "type": "string", "required": false }, "description": { "description": "Tool description.", "type": "string", "required": false }, "success": { "description": "Did the tool run successfully?", "type": "boolean", "required": false }, "message": { "description": "Tool return message.", "type": "string", "required": false } } } ] }, "\/wc\/v2\/shipping_methods": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/shipping_methods" } ] } }, "\/wc\/v2\/shipping_methods\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/payment_gateways": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v2\/payment_gateways" } ] } }, "\/wc\/v2\/payment_gateways\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "title": { "description": "Payment gateway title on checkout.", "type": "string", "required": false }, "description": { "description": "Payment gateway description on checkout.", "type": "string", "required": false }, "order": { "description": "Payment gateway sort order.", "type": "integer", "required": false }, "enabled": { "description": "Payment gateway enabled status.", "type": "boolean", "required": false }, "settings": { "description": "Payment gateway settings.", "type": "object", "properties": { "id": { "description": "A unique identifier for the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "A human readable label for the setting used in interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "A human readable description for the setting used in interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Type of setting.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Setting value.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Default value for the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Additional help text shown to the user about the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Placeholder text to be displayed in text inputs.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } } ] }, "\/wc\/v3\/coupons": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Limit result set to resources with a specific code.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Coupon code.", "type": "string", "required": true }, "amount": { "description": "The amount of discount. Should always be numeric, even if setting a percentage.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determines the type of discount that will be applied.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Coupon description.", "type": "string", "required": false }, "date_expires": { "description": "The date the coupon expires, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "The date the coupon expires, as GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.", "type": "boolean", "required": false }, "product_ids": { "description": "List of product IDs the coupon can be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "List of product IDs the coupon cannot be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "How many times the coupon can be used in total.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "How many times the coupon can be used per customer.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Max number of items in the cart the coupon can be applied to.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "If true and if the free shipping method requires a coupon, this coupon will enable free shipping.", "type": "boolean", "required": false }, "product_categories": { "description": "List of category IDs the coupon applies to.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "List of category IDs the coupon does not apply to.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "If true, this coupon will not be applied to items that have sale prices.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimum order amount that needs to be in the cart before coupon applies.", "type": "string", "required": false }, "maximum_amount": { "description": "Maximum order amount allowed when using the coupon.", "type": "string", "required": false }, "email_restrictions": { "description": "List of email addresses that can use this coupon.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/coupons" } ] } }, "\/wc\/v3\/coupons\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "code": { "description": "Coupon code.", "type": "string", "required": false }, "amount": { "description": "The amount of discount. Should always be numeric, even if setting a percentage.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "description": "Determines the type of discount that will be applied.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Coupon description.", "type": "string", "required": false }, "date_expires": { "description": "The date the coupon expires, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "The date the coupon expires, as GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.", "type": "boolean", "required": false }, "product_ids": { "description": "List of product IDs the coupon can be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "List of product IDs the coupon cannot be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "How many times the coupon can be used in total.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "How many times the coupon can be used per customer.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Max number of items in the cart the coupon can be applied to.", "type": "integer", "required": false }, "free_shipping": { "description": "If true and if the free shipping method requires a coupon, this coupon will enable free shipping.", "type": "boolean", "required": false }, "product_categories": { "description": "List of category IDs the coupon applies to.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "List of category IDs the coupon does not apply to.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "If true, this coupon will not be applied to items that have sale prices.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimum order amount that needs to be in the cart before coupon applies.", "type": "string", "required": false }, "maximum_amount": { "description": "Maximum order amount allowed when using the coupon.", "type": "string", "required": false }, "email_restrictions": { "description": "List of email addresses that can use this coupon.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v3\/coupons\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Coupon code.", "type": "string", "required": false }, "amount": { "description": "The amount of discount. Should always be numeric, even if setting a percentage.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "description": "Determines the type of discount that will be applied.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Coupon description.", "type": "string", "required": false }, "date_expires": { "description": "The date the coupon expires, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "The date the coupon expires, as GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "If true, the coupon can only be used individually. Other applied coupons will be removed from the cart.", "type": "boolean", "required": false }, "product_ids": { "description": "List of product IDs the coupon can be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "List of product IDs the coupon cannot be used on.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "How many times the coupon can be used in total.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "How many times the coupon can be used per customer.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Max number of items in the cart the coupon can be applied to.", "type": "integer", "required": false }, "free_shipping": { "description": "If true and if the free shipping method requires a coupon, this coupon will enable free shipping.", "type": "boolean", "required": false }, "product_categories": { "description": "List of category IDs the coupon applies to.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "List of category IDs the coupon does not apply to.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "If true, this coupon will not be applied to items that have sale prices.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimum order amount that needs to be in the cart before coupon applies.", "type": "string", "required": false }, "maximum_amount": { "description": "Maximum order amount allowed when using the coupon.", "type": "string", "required": false }, "email_restrictions": { "description": "List of email addresses that can use this coupon.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/coupons\/batch" } ] } }, "\/wc\/v3\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v3\/customers": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Order sort attribute ascending or descending.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Sort collection by object attribute.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Limit result set to resources with a specific email.", "type": "string", "format": "email", "required": false }, "role": { "description": "Limit result set to resources with a specific role.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager", "translator", "group_leader", "affiliate", "wpseo_manager", "wpseo_editor" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "New user email address.", "required": true }, "first_name": { "description": "Customer first name.", "type": "string", "required": false }, "last_name": { "description": "Customer last name.", "type": "string", "required": false }, "username": { "description": "New user username.", "type": "string", "required": false }, "password": { "description": "New user password.", "type": "string", "required": false }, "billing": { "description": "List of billing address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "List of shipping address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/customers" } ] } }, "\/wc\/v3\/customers\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "email": { "description": "The email address for the customer.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Customer first name.", "type": "string", "required": false }, "last_name": { "description": "Customer last name.", "type": "string", "required": false }, "username": { "description": "Customer login name.", "type": "string", "required": false }, "password": { "description": "Customer password.", "type": "string", "required": false }, "billing": { "description": "List of billing address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "List of shipping address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID to reassign posts to.", "required": false } } } ] }, "\/wc\/v3\/customers\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "The email address for the customer.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Customer first name.", "type": "string", "required": false }, "last_name": { "description": "Customer last name.", "type": "string", "required": false }, "username": { "description": "Customer login name.", "type": "string", "required": false }, "password": { "description": "Customer password.", "type": "string", "required": false }, "billing": { "description": "List of billing address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "List of shipping address data.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "ISO code of the country.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/customers\/batch" } ] } }, "\/wc\/v3\/layout-templates": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "area": { "description": "Area to get templates for.", "type": "string", "default": "", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/layout-templates" } ] } }, "\/wc\/v3\/layout-templates\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "type": { "default": "any", "description": "Limit result to customers or internal notes.", "type": "string", "enum": [ "any", "customer", "internal" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Order note content.", "required": true }, "customer_note": { "default": false, "description": "If true, the note will be shown to customers and they will be notified. If false, the note will be for admin reference only.", "type": "boolean", "required": false }, "added_by_user": { "default": false, "description": "If true, this note will be attributed to the current user. If false, the note will be attributed to the system.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 2, "description": "Number of decimal points to use in each resource.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Only show meta which is meant to be displayed for an order.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "amount": { "description": "Refund amount.", "type": "string", "required": false }, "reason": { "description": "Reason for refund.", "type": "string", "required": false }, "refunded_by": { "description": "User ID of user who created the refund.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "api_refund": { "default": true, "description": "When true, the payment gateway API is used to generate the refund.", "type": "boolean", "required": false }, "api_restock": { "default": true, "description": "When true, refunded items are restocked.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/orders": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Limit result set to orders which have specific statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ] }, "required": false }, "customer": { "description": "Limit result set to orders assigned a specific customer.", "type": "integer", "required": false }, "product": { "description": "Limit result set to orders assigned a specific product.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Number of decimal points to use in each resource.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Only show meta which is meant to be displayed for an order.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Order status.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "EUR", "description": "Currency the order was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "User ID who owns the order. 0 for guests.", "type": "integer", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "transaction_id": { "description": "Unique transaction ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Whether the coupon grants free shipping or not.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean", "required": false }, "manual_update": { "default": false, "description": "Set the action as manual so that the order note registers as \"added by user\".", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/orders" } ] } }, "\/wc\/v3\/orders\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "description": "Order status.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Currency the order was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "User ID who owns the order. 0 for guests.", "type": "integer", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "transaction_id": { "description": "Unique transaction ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Whether the coupon grants free shipping or not.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean", "required": false }, "manual_update": { "description": "Set the action as manual so that the order note registers as \"added by user\".", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v3\/orders\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "description": "Order status.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Currency the order was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "User ID who owns the order. 0 for guests.", "type": "integer", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "transaction_id": { "description": "Unique transaction ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Whether the coupon grants free shipping or not.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean", "required": false }, "manual_update": { "description": "Set the action as manual so that the order note registers as \"added by user\".", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/orders\/batch" } ] } }, "\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by resource attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide resources not assigned to any products.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Limit result set to resources assigned to a specific product.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to resources with a specific slug.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Name for the resource.", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "name": { "description": "Term name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/products\/attributes\/(?P[\\d]+)\/terms\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "description": "Unique identifier for the attribute of the terms.", "type": "integer", "required": false }, "name": { "description": "Term name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/products\/attributes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Name for the resource.", "type": "string", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "type": { "default": "select", "description": "Type of attribute.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Default sort order.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Enable\/Disable attribute archives.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/products\/attributes" } ] } }, "\/wc\/v3\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Attribute name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "type": { "description": "Type of attribute.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Default sort order.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Enable\/Disable attribute archives.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/products\/attributes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Attribute name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "type": { "description": "Type of attribute.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Default sort order.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Enable\/Disable attribute archives.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/products\/attributes\/batch" } ] } }, "\/wc\/v3\/products\/categories": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by resource attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide resources not assigned to any products.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Limit result set to resources assigned to a specific product.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to resources with a specific slug.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Name for the resource.", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the resource.", "type": "integer", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "display": { "default": "default", "description": "Category archive display type.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/products\/categories" } ] } }, "\/wc\/v3\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Category name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the resource.", "type": "integer", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "display": { "description": "Category archive display type.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/products\/categories\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Category name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the resource.", "type": "integer", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false }, "display": { "description": "Category archive display type.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort the resource.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/products\/categories\/batch" } ] } }, "\/wc\/v3\/products\/reviews": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to reviews published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "required": false }, "reviewer": { "description": "Limit result set to reviews assigned to specific user IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_exclude": { "description": "Ensure result set excludes reviews assigned to specific user IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_email": { "default": null, "description": "Limit result set to that from a specific author email.", "format": "email", "type": "string", "required": false }, "product": { "default": [], "description": "Limit result set to reviews assigned to specific product IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approved", "description": "Limit result set to reviews assigned a specific status.", "type": "string", "enum": [ "all", "hold", "approved", "spam", "trash" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unique identifier for the product.", "type": "integer", "required": true }, "product_name": { "description": "Product name.", "type": "string", "required": false }, "status": { "default": "approved", "description": "Status of the review.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "type": "string", "description": "Name of the reviewer.", "required": true }, "reviewer_email": { "type": "string", "description": "Email of the reviewer.", "required": true }, "review": { "type": "string", "description": "Review content.", "required": true }, "rating": { "description": "Review rating (0 to 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/products\/reviews" } ] } }, "\/wc\/v3\/products\/reviews\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "product_id": { "description": "Unique identifier for the product that the review belongs to.", "type": "integer", "required": false }, "product_name": { "description": "Product name.", "type": "string", "required": false }, "status": { "description": "Status of the review.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Reviewer name.", "type": "string", "required": false }, "reviewer_email": { "description": "Reviewer email.", "type": "string", "format": "email", "required": false }, "review": { "description": "The content of the review.", "type": "string", "required": false }, "rating": { "description": "Review rating (0 to 5).", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v3\/products\/reviews\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unique identifier for the product that the review belongs to.", "type": "integer", "required": false }, "product_name": { "description": "Product name.", "type": "string", "required": false }, "status": { "description": "Status of the review.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Reviewer name.", "type": "string", "required": false }, "reviewer_email": { "description": "Reviewer email.", "type": "string", "format": "email", "required": false }, "review": { "description": "The content of the review.", "type": "string", "required": false }, "rating": { "description": "Review rating (0 to 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/products\/reviews\/batch" } ] } }, "\/wc\/v3\/products\/shipping_classes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by resource attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide resources not assigned to any products.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Limit result set to resources assigned to a specific product.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to resources with a specific slug.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Name for the resource.", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/products\/shipping_classes" } ] } }, "\/wc\/v3\/products\/shipping_classes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Shipping class name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/products\/shipping_classes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Shipping class name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v3\/products\/shipping_classes\/slug-suggestion": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "description": "Shipping class name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/products\/shipping_classes\/slug-suggestion" } ] } }, "\/wc\/v3\/products\/tags": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by resource attribute.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Whether to hide resources not assigned to any products.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Limit result set to resources assigned to a specific product.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Limit result set to resources with a specific slug.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Name for the resource.", "required": true }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/products\/tags" } ] } }, "\/wc\/v3\/products\/tags\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Tag name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/products\/tags\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Tag name.", "type": "string", "required": false }, "slug": { "description": "An alphanumeric identifier for the resource unique to its type.", "type": "string", "required": false }, "description": { "description": "HTML description of the resource.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/products\/tags\/batch" } ] } }, "\/wc\/v3\/products": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "popularity", "rating", "menu_order", "price", "popularity", "rating" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limit result set to products with a specific slug.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limit result set to products assigned a specific status.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limit result set to products assigned a specific type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "sku": { "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string", "required": false }, "featured": { "description": "Limit result set to featured products.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a specific category ID.", "type": "string", "required": false }, "tag": { "description": "Limit result set to products assigned a specific tag ID.", "type": "string", "required": false }, "shipping_class": { "description": "Limit result set to products assigned a specific shipping class ID.", "type": "string", "required": false }, "attribute": { "description": "Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.", "type": "string", "required": false }, "attribute_term": { "description": "Limit result set to products with a specific attribute term ID (required an assigned attribute).", "type": "string", "required": false }, "on_sale": { "description": "Limit result set to products on sale.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limit result set to products with specified stock status.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "search_sku": { "description": "Limit results to those with a SKU that partial matches a string.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Product name.", "type": "string", "required": false }, "slug": { "description": "Product slug.", "type": "string", "required": false }, "date_created": { "description": "The date the product was created, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "The date the product was created, as GMT.", "type": [ "null", "string" ], "required": false }, "type": { "default": "simple", "description": "Product type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "status": { "default": "publish", "description": "Product status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "default": false, "description": "Featured product.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Catalog visibility.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Product description.", "type": "string", "required": false }, "short_description": { "description": "Product short description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Product regular price.", "type": "string", "required": false }, "sale_price": { "description": "Product sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "If the product is virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "If the product is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "external_url": { "description": "Product external URL. Only for external products.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Product external button text. Only for external products.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Stock management at product level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "default": false, "description": "Allow one item to be bought in a single order.", "type": "boolean", "required": false }, "weight": { "description": "Product weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Product dimensions.", "type": "object", "properties": { "length": { "description": "Product length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Product width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Product height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Allow reviews.", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "List of up-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Optional note to send the customer after purchase.", "type": "string", "required": false }, "categories": { "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "List of images.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/products" } ] } }, "\/wc\/v3\/products\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Product name.", "type": "string", "required": false }, "slug": { "description": "Product slug.", "type": "string", "required": false }, "date_created": { "description": "The date the product was created, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "The date the product was created, as GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Product type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "status": { "description": "Product status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Featured product.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Catalog visibility.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Product description.", "type": "string", "required": false }, "short_description": { "description": "Product short description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Product regular price.", "type": "string", "required": false }, "sale_price": { "description": "Product sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "If the product is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the product is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "external_url": { "description": "Product external URL. Only for external products.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Product external button text. Only for external products.", "type": "string", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at product level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Allow one item to be bought in a single order.", "type": "boolean", "required": false }, "weight": { "description": "Product weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Product dimensions.", "type": "object", "properties": { "length": { "description": "Product length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Product width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Product height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "reviews_allowed": { "description": "Allow reviews.", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "List of up-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Optional note to send the customer after purchase.", "type": "string", "required": false }, "categories": { "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "List of images.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "description": "Whether to bypass trash and force deletion.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/products\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Product name.", "type": "string", "required": false }, "slug": { "description": "Product slug.", "type": "string", "required": false }, "date_created": { "description": "The date the product was created, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "The date the product was created, as GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Product type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "status": { "description": "Product status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Featured product.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Catalog visibility.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Product description.", "type": "string", "required": false }, "short_description": { "description": "Product short description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Product regular price.", "type": "string", "required": false }, "sale_price": { "description": "Product sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "If the product is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the product is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "external_url": { "description": "Product external URL. Only for external products.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Product external button text. Only for external products.", "type": "string", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at product level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Allow one item to be bought in a single order.", "type": "boolean", "required": false }, "weight": { "description": "Product weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Product dimensions.", "type": "object", "properties": { "length": { "description": "Product length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Product width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Product height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "reviews_allowed": { "description": "Allow reviews.", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "List of up-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Optional note to send the customer after purchase.", "type": "string", "required": false }, "categories": { "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "List of images.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/products\/batch" } ] } }, "\/wc\/v3\/products\/suggested-products": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limit result set to products with a specific slug.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limit result set to products assigned a specific status.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Limit result set to products assigned a specific type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "sku": { "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string", "required": false }, "featured": { "description": "Limit result set to featured products.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a specific category ID.", "type": "string", "required": false }, "tag": { "description": "Limit result set to products assigned a specific tag ID.", "type": "string", "required": false }, "shipping_class": { "description": "Limit result set to products assigned a specific shipping class ID.", "type": "string", "required": false }, "attribute": { "description": "Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.", "type": "string", "required": false }, "attribute_term": { "description": "Limit result set to products with a specific attribute term ID (required an assigned attribute).", "type": "string", "required": false }, "in_stock": { "description": "Limit result set to products in stock or out of stock.", "type": "boolean", "required": false }, "on_sale": { "description": "Limit result set to products on sale.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "categories": { "description": "Limit result set to specific product categorie ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tags": { "description": "Limit result set to specific product tag ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "limit": { "description": "Limit result set to specific amount of suggested products.", "type": "integer", "default": 5, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/products\/suggested-products" } ] } }, "\/wc\/v3\/products\/(?P[\\d]+)\/duplicate": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Product name.", "type": "string", "required": false }, "slug": { "description": "Product slug.", "type": "string", "required": false }, "date_created": { "description": "The date the product was created, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "The date the product was created, as GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Product type.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "course" ], "required": false }, "status": { "description": "Product status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Featured product.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Catalog visibility.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Product description.", "type": "string", "required": false }, "short_description": { "description": "Product short description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Product regular price.", "type": "string", "required": false }, "sale_price": { "description": "Product sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "If the product is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the product is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "external_url": { "description": "Product external URL. Only for external products.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Product external button text. Only for external products.", "type": "string", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at product level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Allow one item to be bought in a single order.", "type": "boolean", "required": false }, "weight": { "description": "Product weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Product dimensions.", "type": "object", "properties": { "length": { "description": "Product length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Product width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Product height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "reviews_allowed": { "description": "Allow reviews.", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "List of up-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "List of cross-sell products IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Product parent ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Optional note to send the customer after purchase.", "type": "string", "required": false }, "categories": { "description": "List of categories.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Category ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Category name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Category slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "List of tags.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Tag ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Tag name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Tag slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "List of images.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Attribute position.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Define if the attribute is visible on the \"Additional information\" tab in the product's page.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Define if the attribute can be used as variation.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "List of available term names of the attribute.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Defaults variation attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Limit result set to products with a specific slug.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limit result set to products assigned a specific status.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Limit result set to products with specific SKU(s). Use commas to separate.", "type": "string", "required": false }, "on_sale": { "description": "Limit result set to products on sale.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Limit result set to products with specified stock status.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limit result set to products with or without price.", "type": "boolean", "required": false }, "attributes": { "description": "Limit result set to products with specified attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Attribute slug." }, "term": { "type": "string", "description": "Attribute term." }, "terms": { "type": "array", "description": "Attribute terms." } } }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "description": { "description": "Variation description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Variation regular price.", "type": "string", "required": false }, "sale_price": { "description": "Variation sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Variation status.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "If the variation is virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "If the variation is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Stock management at variation level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variation weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "image": { "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the variation.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the variation.", "type": "integer", "required": false }, "description": { "description": "Variation description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Variation regular price.", "type": "string", "required": false }, "sale_price": { "description": "Variation sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Variation status.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "If the variation is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the variation is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at variation level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variation weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "image": { "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the variation.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "description": { "description": "Variation description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Variation regular price.", "type": "string", "required": false }, "sale_price": { "description": "Variation sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Variation status.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "If the variation is virtual.", "type": "boolean", "required": false }, "downloadable": { "description": "If the variation is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "tax_status": { "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "description": "Stock management at variation level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variation weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "image": { "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations\/generate": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_id": { "description": "Unique identifier for the variable product.", "type": "integer", "required": false }, "delete": { "description": "Deletes unused variations.", "type": "boolean", "required": false }, "default_values": { "description": "Default values for generated variations.", "type": "object", "properties": { "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation description.", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Unique identifier.", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation regular price.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation sale price.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation status.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "If the variation is virtual.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "If the variation is downloadable.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Number of days until access to downloadable files expires.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Tax class.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stock management at variation level.", "type": "boolean" }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stock quantity.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation weight (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Shipping class slug.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Menu order, used to custom sort products.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } }, "required": false }, "description": { "description": "Variation description.", "type": "string", "required": false }, "sku": { "description": "Unique identifier.", "type": "string", "required": false }, "regular_price": { "description": "Variation regular price.", "type": "string", "required": false }, "sale_price": { "description": "Variation sale price.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Start date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Start date of sale price, as GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "End date of sale price, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Variation status.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "If the variation is virtual.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "If the variation is downloadable.", "type": "boolean", "required": false }, "downloads": { "description": "List of downloadable files.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "File ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "File name.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "File URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Number of times downloadable files can be downloaded after purchase.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Number of days until access to downloadable files expires.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Tax status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Tax class.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Stock management at variation level.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stock quantity.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "If managing stock, this controls if backorders are allowed.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variation weight (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variation dimensions.", "type": "object", "properties": { "length": { "description": "Variation length (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variation width (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variation height (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Shipping class slug.", "type": "string", "required": false }, "image": { "description": "Variation image data.", "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was last modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was last modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "List of attributes.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Attribute ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Attribute name.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Menu order, used to custom sort products.", "type": "integer", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v3\/refunds": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 2, "description": "Number of decimal points to use in each resource.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Only show meta which is meant to be displayed for an order.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/refunds" } ] } }, "\/wc\/v3\/reports\/sales": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Report period.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/reports\/sales" } ] } }, "\/wc\/v3\/reports\/top_sellers": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Report period.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Return sales for a specific start date, the date need to be in the YYYY-MM-DD format.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Return sales for a specific end date, the date need to be in the YYYY-MM-DD format.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/reports\/top_sellers" } ] } }, "\/wc\/v3\/reports\/orders\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/reports\/orders\/totals" } ] } }, "\/wc\/v3\/reports\/products\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/reports\/products\/totals" } ] } }, "\/wc\/v3\/reports\/customers\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/reports\/customers\/totals" } ] } }, "\/wc\/v3\/reports\/coupons\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/reports\/coupons\/totals" } ] } }, "\/wc\/v3\/reports\/reviews\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/reports\/reviews\/totals" } ] } }, "\/wc\/v3\/reports": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/reports" } ] } }, "\/wc\/v3\/settings": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/settings" } ] } }, "\/wc\/v3\/settings\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/settings\/batch" } ] } }, "\/wc\/v3\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "Settings group ID.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Settings group ID.", "type": "string", "required": false }, "value": { "description": "Setting value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v3\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "Settings group ID.", "type": "string", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Settings group ID.", "type": "string", "required": false }, "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "value": { "description": "Setting value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v3\/shipping\/zones": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Shipping zone name.", "required": true }, "order": { "description": "Shipping zone order.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/shipping\/zones" } ] } }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique ID for the resource.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique ID for the resource.", "type": "integer", "required": false }, "name": { "description": "Shipping zone name.", "type": "string", "required": false }, "order": { "description": "Shipping zone order.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique ID for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/locations": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique ID for the resource.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique ID for the resource.", "type": "integer", "required": false }, "code": { "description": "Shipping zone location code.", "type": "string", "required": false }, "type": { "description": "Shipping zone location type.", "type": "string", "enum": [ "postcode", "state", "country", "continent" ], "required": false } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "description": "Unique ID for the zone.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "zone_id": { "description": "Unique ID for the zone.", "type": "integer", "required": false }, "order": { "description": "Shipping method sort order.", "type": "integer", "required": false }, "enabled": { "description": "Shipping method enabled status.", "type": "boolean", "required": false }, "settings": { "description": "Shipping method settings.", "type": "object", "properties": { "id": { "description": "A unique identifier for the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "A human readable label for the setting used in interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "A human readable description for the setting used in interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Type of setting.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox", "class", "order" ], "readonly": true }, "value": { "description": "Setting value.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Default value for the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Additional help text shown to the user about the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Placeholder text to be displayed in text inputs.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "method_id": { "description": "Shipping method ID.", "required": true } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "description": "Unique ID for the zone.", "type": "integer", "required": false }, "instance_id": { "description": "Unique ID for the instance.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "description": "Unique ID for the zone.", "type": "integer", "required": false }, "instance_id": { "description": "Unique ID for the instance.", "type": "integer", "required": false }, "order": { "description": "Shipping method sort order.", "type": "integer", "required": false }, "enabled": { "description": "Shipping method enabled status.", "type": "boolean", "required": false }, "settings": { "description": "Shipping method settings.", "type": "object", "properties": { "id": { "description": "A unique identifier for the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "A human readable label for the setting used in interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "A human readable description for the setting used in interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Type of setting.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox", "class", "order" ], "readonly": true }, "value": { "description": "Setting value.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Default value for the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Additional help text shown to the user about the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Placeholder text to be displayed in text inputs.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "description": "Unique ID for the zone.", "type": "integer", "required": false }, "instance_id": { "description": "Unique ID for the instance.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v3\/taxes\/classes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Tax class name.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/taxes\/classes" } ] } }, "\/wc\/v3\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Unique slug for the resource.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "slug": { "description": "Unique slug for the resource.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/taxes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Order sort attribute ascending or descending.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Sort collection by object attribute.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Sort by tax class.", "enum": [ "standard", "reduced-rate", "stopnja-nic", "zero-rate", "znizana-stopnja" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Country ISO 3166 code.", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.", "type": "string", "required": false }, "city": { "description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.", "type": "string", "required": false }, "rate": { "description": "Tax rate.", "type": "string", "required": false }, "name": { "description": "Tax rate name.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Tax priority.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Whether or not this is a compound rate.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Whether or not this tax rate also gets applied to shipping.", "type": "boolean", "required": false }, "order": { "description": "Indicates the order that will appear in queries.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Tax class.", "type": "string", "enum": [ "standard", "reduced-rate", "stopnja-nic", "zero-rate", "znizana-stopnja" ], "required": false }, "postcodes": { "description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "List of city names. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/taxes" } ] } }, "\/wc\/v3\/taxes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "country": { "description": "Country ISO 3166 code.", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.", "type": "string", "required": false }, "city": { "description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.", "type": "string", "required": false }, "rate": { "description": "Tax rate.", "type": "string", "required": false }, "name": { "description": "Tax rate name.", "type": "string", "required": false }, "priority": { "description": "Tax priority.", "type": "integer", "required": false }, "compound": { "description": "Whether or not this is a compound rate.", "type": "boolean", "required": false }, "shipping": { "description": "Whether or not this tax rate also gets applied to shipping.", "type": "boolean", "required": false }, "order": { "description": "Indicates the order that will appear in queries.", "type": "integer", "required": false }, "class": { "description": "Tax class.", "type": "string", "enum": [ "standard", "reduced-rate", "stopnja-nic", "zero-rate", "znizana-stopnja" ], "required": false }, "postcodes": { "description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "List of city names. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/taxes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Country ISO 3166 code.", "type": "string", "required": false }, "state": { "description": "State code.", "type": "string", "required": false }, "postcode": { "description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.", "type": "string", "required": false }, "city": { "description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.", "type": "string", "required": false }, "rate": { "description": "Tax rate.", "type": "string", "required": false }, "name": { "description": "Tax rate name.", "type": "string", "required": false }, "priority": { "description": "Tax priority.", "type": "integer", "required": false }, "compound": { "description": "Whether or not this is a compound rate.", "type": "boolean", "required": false }, "shipping": { "description": "Whether or not this tax rate also gets applied to shipping.", "type": "boolean", "required": false }, "order": { "description": "Indicates the order that will appear in queries.", "type": "integer", "required": false }, "class": { "description": "Tax class.", "type": "string", "enum": [ "standard", "reduced-rate", "stopnja-nic", "zero-rate", "znizana-stopnja" ], "required": false }, "postcodes": { "description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "List of city names. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/taxes\/batch" } ] } }, "\/wc\/v3\/webhooks": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Limit result set to webhooks assigned a specific status.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "default": "active", "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Webhook topic.", "required": true }, "secret": { "description": "Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "Webhook delivery URL.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/webhooks" } ] } }, "\/wc\/v3\/webhooks\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook topic.", "type": "string", "required": false }, "secret": { "description": "Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/webhooks\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "A friendly name for the webhook.", "type": "string", "required": false }, "status": { "description": "Webhook status.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook topic.", "type": "string", "required": false }, "secret": { "description": "Secret key used to generate a hash of the delivered webhook and provided in the request headers. This will default to a MD5 hash from the current user's ID|username if not provided.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/webhooks\/batch" } ] } }, "\/wc\/v3\/system_status": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/system_status" } ] } }, "\/wc\/v3\/system_status\/tools": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/system_status\/tools" } ] } }, "\/wc\/v3\/system_status\/tools\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "A unique identifier for the tool.", "type": "string", "required": false }, "name": { "description": "Tool name.", "type": "string", "required": false }, "action": { "description": "What running the tool will do.", "type": "string", "required": false }, "description": { "description": "Tool description.", "type": "string", "required": false }, "success": { "description": "Did the tool run successfully?", "type": "boolean", "required": false }, "message": { "description": "Tool return message.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/shipping_methods": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/shipping_methods" } ] } }, "\/wc\/v3\/shipping_methods\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v3\/payment_gateways": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/payment_gateways" } ] } }, "\/wc\/v3\/payment_gateways\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false }, "title": { "description": "Payment gateway title on checkout.", "type": "string", "required": false }, "description": { "description": "Payment gateway description on checkout.", "type": "string", "required": false }, "order": { "description": "Payment gateway sort order.", "type": "integer", "required": false }, "enabled": { "description": "Payment gateway enabled status.", "type": "boolean", "required": false }, "settings": { "description": "Payment gateway settings.", "type": "object", "properties": { "id": { "description": "A unique identifier for the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "A human readable label for the setting used in interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "A human readable description for the setting used in interfaces.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Type of setting.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Setting value.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Default value for the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Additional help text shown to the user about the setting.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Placeholder text to be displayed in text inputs.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } } ] }, "\/wc\/v3\/data": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/data" } ] } }, "\/wc\/v3\/data\/continents": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/data\/continents" } ] } }, "\/wc\/v3\/data\/continents\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "continent": { "description": "2 character continent code.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/data\/countries": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/data\/countries" } ] } }, "\/wc\/v3\/data\/countries\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "ISO3166 alpha-2 country code.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/data\/currencies": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/data\/currencies" } ] } }, "\/wc\/v3\/data\/currencies\/current": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/data\/currencies\/current" } ] } }, "\/wc\/v3\/data\/currencies\/(?P[\\w-]{3})": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "ISO4217 currency code.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/receipt": { "namespace": "wc\/v3", "methods": [ "POST", "GET" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier of the order.", "type": "integer", "required": false }, "expiration_date": { "description": "Expiration date formatted as yyyy-mm-dd.", "type": "string", "default": null, "required": false }, "expiration_days": { "description": "Number of days to be added to the current date to get the expiration date.", "type": "integer", "default": 1, "required": false }, "force_new": { "description": "True to force the creation of a new receipt even if one already exists and has not expired yet.", "type": "boolean", "default": false, "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier of the order.", "type": "integer", "required": false } } } ] }, "\/wc-telemetry": { "namespace": "wc-telemetry", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-telemetry", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-telemetry" } ] } }, "\/wc-telemetry\/tracker": { "namespace": "wc-telemetry", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "platform": { "description": "Platform to track.", "type": "string", "required": true }, "version": { "description": "Platform version to track.", "type": "string", "required": true }, "installation_date": { "description": "Installation date of the WooCommerce mobile app.", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc-telemetry\/tracker" } ] } }, "\/wccom-site\/v3": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wccom-site\/v3", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wccom-site\/v3" } ] } }, "\/wccom-site\/v3\/installer": { "namespace": "wccom-site\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product-id": { "type": "integer", "required": true }, "run-until-step": { "type": "string", "enum": [ "get_product_info", "download_product", "unpack_product", "move_product", "activate_product" ], "required": true }, "idempotency-key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wccom-site\/v3\/installer" } ] } }, "\/wccom-site\/v3\/installer\/reset": { "namespace": "wccom-site\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product-id": { "type": "integer", "required": true }, "idempotency-key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wccom-site\/v3\/installer\/reset" } ] } }, "\/wccom-site\/v3\/ssr": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wccom-site\/v3\/ssr" } ] } }, "\/wccom-site\/v3\/status": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wccom-site\/v3\/status" } ] } }, "\/ld-propanel\/v1": { "namespace": "ld-propanel\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "ld-propanel\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ld-propanel\/v1" } ] } }, "\/ld-propanel\/v1\/gutenberg-get-posts": { "namespace": "ld-propanel\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "s": { "required": true }, "post_type": { "required": true }, "offset": { "required": false }, "per_page": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ld-propanel\/v1\/gutenberg-get-posts" } ] } }, "\/ld-propanel\/v1\/gutenberg-get-post": { "namespace": "ld-propanel\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ld-propanel\/v1\/gutenberg-get-post" } ] } }, "\/ld-propanel\/v1\/gutenberg-get-users": { "namespace": "ld-propanel\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "s": { "required": true }, "offset": { "required": false }, "per_page": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ld-propanel\/v1\/gutenberg-get-users" } ] } }, "\/ld-propanel\/v1\/gutenberg-get-user": { "namespace": "ld-propanel\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/ld-propanel\/v1\/gutenberg-get-user" } ] } }, "\/elementor\/v1\/send-event": { "namespace": "elementor\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "event_data": { "description": "All the recorded event data in JSON format", "type": "object", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/elementor\/v1\/send-event" } ] } }, "\/affwp\/v1": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "affwp\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/affwp\/v1" } ] } }, "\/affwp\/v1\/payouts": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "default": "view", "required": false }, "number": { "description": "The number of items to query for. Use -1 for all.", "required": false }, "offset": { "description": "The number of items to offset in the query.", "required": false }, "order": { "description": "How to order results. Accepts ASC (ascending) or DESC (descending).", "required": false }, "fields": { "description": "Fields to limit the selection for. Accepts 'ids'. Default '*' for all.", "required": false }, "response_callback": { "description": "A callback to pass the response through before returning.", "required": false }, "payout_id": { "description": "The payout ID or array of IDs to query for.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "affiliate_id": { "description": "The affiliate ID or array of IDs to query payouts for.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "referrals": { "description": "Referral ID or array of referral IDs to retrieve payouts for.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "amount": { "description": "Payout amount (float) or min\/max range (array) to retrieve payouts for.", "required": false }, "amount_compare": { "description": "Comparison operator used with 'amount'. Accepts '>', '<', '>=', '<=', '=', or '!='.", "required": false }, "owner": { "description": "ID or array of IDs for users who generated payouts. Default empty.", "required": false }, "status": { "description": "The payout status. Accepts 'paid' or 'failed'.", "required": false }, "orderby": { "description": "Payouts table column to order by.", "required": false }, "date": { "description": "The date array or string to query payouts within.", "required": false }, "filter": { "description": "Use any get_payouts() arguments to modify the response.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/affwp\/v1\/payouts" } ] } }, "\/affwp\/v1\/payouts\/(?P\\d+)": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/affwp\/v1\/affiliates": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "default": "view", "required": false }, "number": { "description": "The number of items to query for. Use -1 for all.", "required": false }, "offset": { "description": "The number of items to offset in the query.", "required": false }, "order": { "description": "How to order results. Accepts ASC (ascending) or DESC (descending).", "required": false }, "fields": { "description": "Fields to limit the selection for. Accepts 'ids'. Default '*' for all.", "required": false }, "rest_id": { "description": "The rest ID (site:object ID combination)", "required": false }, "response_callback": { "description": "A callback to pass the response through before returning.", "required": false }, "affiliate_id": { "description": "The affiliate ID or array of IDs to query for.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "user_id": { "description": "The user ID or array of IDs to query payouts for.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "exclude": { "description": "Affiliate ID or array of IDs to exclude from the query.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search": { "description": "Terms to search for affiliates. Accepts an affiliate ID or a string.", "required": false }, "status": { "description": "The affiliate status. Accepts 'active', 'inactive', 'pending', or 'rejected'.", "required": false }, "orderby": { "description": "Affiliates table column to order by.", "required": false }, "date": { "description": "The date array or string to query affiliate registrations within.", "required": false }, "filter": { "description": "Use any get_affiliates() arguments to modify the response.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/affwp\/v1\/affiliates" } ] } }, "\/affwp\/v1\/affiliates\/((?P\\d+)|(?P\\w+))": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "user": { "description": "Whether to include a modified user object in the response.", "required": false }, "meta": { "description": "Whether to include the affiliate meta in the response.", "required": false } } } ] }, "\/affwp\/v1\/sales": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "default": "view", "required": false }, "number": { "description": "The number of items to query for. Use -1 for all.", "required": false }, "offset": { "description": "The number of items to offset in the query.", "required": false }, "order": { "description": "How to order results. Accepts ASC (ascending) or DESC (descending).", "required": false }, "fields": { "description": "Fields to limit the selection for. Accepts 'ids'. Default '*' for all.", "required": false }, "rest_id": { "description": "The rest ID (site:object ID combination)", "required": false }, "response_callback": { "description": "A callback to pass the response through before returning.", "required": false }, "referral_id": { "description": "The referral ID or array of IDs to query for.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "affiliate_id": { "description": "The affiliate ID or array of IDs to query for.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "reference": { "description": "Reference information (product ID) for the sale.", "required": false }, "ref_context": { "description": "The context under which the sale was created (integration).", "required": false }, "campaign": { "description": "The associated campaign.", "required": false }, "status": { "description": "The sale status or array of statuses.", "required": false }, "orderby": { "description": "sales table column to order by.", "required": false }, "search": { "description": "A referral ID or the search string to query for sales with.", "required": false }, "date": { "description": "The date array or string to query sales within.", "required": false }, "parent_id": { "description": "The parent referral ID or array of IDs to query for.", "required": false }, "filter": { "description": "Use any get_sales() arguments to modify the response.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/affwp\/v1\/sales" } ] } }, "\/affwp\/v1\/sales\/(?P\\d+)": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/affwp\/v1\/referrals": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "default": "view", "required": false }, "number": { "description": "The number of items to query for. Use -1 for all.", "required": false }, "offset": { "description": "The number of items to offset in the query.", "required": false }, "order": { "description": "How to order results. Accepts ASC (ascending) or DESC (descending).", "required": false }, "fields": { "description": "Fields to limit the selection for. Accepts 'ids'. Default '*' for all.", "required": false }, "rest_id": { "description": "The rest ID (site:object ID combination)", "required": false }, "response_callback": { "description": "A callback to pass the response through before returning.", "required": false }, "referral_id": { "description": "The referral ID or array of IDs to query for.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "affiliate_id": { "description": "The affiliate ID or array of IDs to query for.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "reference": { "description": "Reference information (product ID) for the referral.", "required": false }, "ref_context": { "description": "The context under which the referral was created (integration).", "required": false }, "campaign": { "description": "The associated campaign.", "required": false }, "status": { "description": "The referral status or array of statuses.", "required": false }, "orderby": { "description": "Referrals table column to order by.", "required": false }, "search": { "description": "A referral ID or the search string to query for referrals with.", "required": false }, "date": { "description": "The date array or string to query referrals within.", "required": false }, "parent_id": { "description": "The parent referral ID or array of IDs to query for.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "filter": { "description": "Use any get_referrals() arguments to modify the response.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/affwp\/v1\/referrals" } ] } }, "\/affwp\/v1\/referrals\/(?P\\d+)": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/affwp\/v1\/visits": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "default": "view", "required": false }, "number": { "description": "The number of items to query for. Use -1 for all.", "required": false }, "offset": { "description": "The number of items to offset in the query.", "required": false }, "order": { "description": "How to order results. Accepts ASC (ascending) or DESC (descending).", "required": false }, "fields": { "description": "Fields to limit the selection for. Accepts 'ids'. Default '*' for all.", "required": false }, "rest_id": { "description": "The rest ID (site:object ID combination)", "required": false }, "response_callback": { "description": "A callback to pass the response through before returning.", "required": false }, "visit_id": { "description": "The visit ID or array of IDs to query visits for.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "affiliate_id": { "description": "The affiliate ID or array of IDs to query visits for.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "referral_id": { "description": "The referral ID or array of IDs to query visits for.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "referral_status": { "description": "The referral status or array of statuses to retrieve visits for.", "required": false }, "visit_context": { "description": "The context under which the visit was created.", "required": false }, "campaign": { "description": "The associated campaign.", "required": false }, "orderby": { "description": "Visits table column to order by.", "required": false }, "filter": { "description": "Use any get_visits() arguments to modify the response.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/affwp\/v1\/visits" } ] } }, "\/affwp\/v1\/visits\/(?P\\d+)": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/affwp\/v1\/customers": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "default": "view", "required": false }, "number": { "description": "The number of items to query for. Use -1 for all.", "required": false }, "offset": { "description": "The number of items to offset in the query.", "required": false }, "order": { "description": "How to order results. Accepts ASC (ascending) or DESC (descending).", "required": false }, "fields": { "description": "Fields to limit the selection for. Accepts 'ids'. Default '*' for all.", "required": false }, "response_callback": { "description": "A callback to pass the response through before returning.", "required": false }, "customer_id": { "description": "The customer ID or comma-separated list of IDs to query for.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "user_id": { "description": "The user ID or comma-separated list of IDs to query customers for.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "exclude": { "description": "Customer ID or comma-separated list of IDs to exclude.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "email": { "description": "The customer email or array of emails to query customers for.", "required": false }, "orderby": { "description": "Customers table column to order by.", "required": false }, "date": { "description": "The date array or string to query customers within.", "required": false }, "filter": { "description": "Use any get_customers() arguments to modify the response.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/affwp\/v1\/customers" } ] } }, "\/affwp\/v1\/customers\/((?P\\d+)|(?P.+))": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "user": { "description": "Whether to include a modified user object in the response.", "required": false }, "meta": { "description": "Whether to include the customer meta in the response.", "required": false } } } ] }, "\/affwp\/v1\/campaigns": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "default": "view", "required": false }, "number": { "description": "The number of items to query for. Use -1 for all.", "required": false }, "offset": { "description": "The number of items to offset in the query.", "required": false }, "order": { "description": "How to order results. Accepts ASC (ascending) or DESC (descending).", "required": false }, "fields": { "description": "Fields to limit the selection for. Accepts 'ids'. Default '*' for all.", "required": false }, "rest_id": { "description": "The rest ID (site:object ID combination)", "required": false }, "response_callback": { "description": "A callback to pass the response through before returning.", "required": false }, "affiliate_id": { "description": "The affiliate ID the campaign belongs to.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "visits": { "description": "The total number of (non-unique) visits recorded for the campaign.", "required": false }, "unique_visits": { "description": "The number of visits (unique by referrer) recorded for the campaign.", "required": false }, "referrals": { "description": "The number of referrals recorded against the campaign.", "required": false }, "hash": { "description": "The unique hash for this campaign.", "required": false }, "conversion_rate": { "description": "The conversion rate for the campaign (ratio of visits divided by referrals).", "required": false }, "orderby": { "description": "Campaigns view column to order by.", "required": false }, "filter": { "description": "Use any get_campaigns() arguments to modify the response.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/affwp\/v1\/campaigns" } ] } }, "\/affwp\/v1\/creatives": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "default": "view", "required": false }, "number": { "description": "The number of items to query for. Use -1 for all.", "required": false }, "offset": { "description": "The number of items to offset in the query.", "required": false }, "order": { "description": "How to order results. Accepts ASC (ascending) or DESC (descending).", "required": false }, "fields": { "description": "Fields to limit the selection for. Accepts 'ids'. Default '*' for all.", "required": false }, "response_callback": { "description": "A callback to pass the response through before returning.", "required": false }, "creative_id": { "description": "The creative ID or array of IDs to query for.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "description": "The creative status. Accepts 'active' or 'inactive'.", "required": false }, "orderby": { "description": "Creatives table column to order by.", "required": false }, "filter": { "description": "Use any get_creatives() arguments to modify the response.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/affwp\/v1\/creatives" } ] } }, "\/affwp\/v1\/creatives\/(?P\\d+)": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/affwp\/v1\/notifications": { "namespace": "affwp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/affwp\/v1\/notifications" } ] } }, "\/affwp\/v1\/notifications\/(?P\\d+)": { "namespace": "affwp\/v1", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "id": { "description": "ID of the notification.", "type": "integer", "required": true } } } ] }, "\/wc\/v1\/subscriptions": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Use WP Query arguments to modify the response; private query vars require appropriate authorization.", "required": false }, "status": { "default": "any", "description": "Limit result set to orders assigned a specific status.", "type": "string", "enum": [ "any", "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "customer": { "description": "Limit result set to orders assigned a specific customer.", "type": "integer", "required": false }, "product": { "description": "Limit result set to orders assigned a specific product.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Number of decimal points to use in each resource.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Order status.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "currency": { "default": "EUR", "description": "Currency the order was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "User ID who owns the order. 0 for guests.", "type": "integer", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "set_paid": { "default": false, "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unique transaction ID.", "type": "string", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Line item meta data.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta label.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "transition_status": { "description": "The status to transition the subscription to. Unlike the \"status\" param, this will calculate and update the subscription dates.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "billing_interval": { "description": "The number of billing periods between subscription renewals.", "type": "integer", "required": false }, "billing_period": { "description": "Billing period for the subscription.", "type": "string", "enum": [ "day", "week", "month", "year" ], "required": false }, "payment_details": { "description": "Subscription payment details.", "type": "object", "properties": { "method_id": { "description": "Payment gateway ID.", "type": "string", "context": [ "edit" ] } }, "required": false }, "start_date": { "description": "The subscription's start date.", "type": [ "null", "string" ], "required": false }, "trial_end_date": { "description": "The subscription's trial date", "type": [ "null", "string" ], "required": false }, "next_payment_date": { "description": "The subscription's next payment date.", "type": [ "null", "string" ], "required": false }, "end_date": { "description": "The subscription's end date.", "type": [ "null", "string" ], "required": false }, "removed_line_items": { "description": "Removed line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Removed line item meta data.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta label.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/subscriptions" } ] } }, "\/wc\/v1\/subscriptions\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "description": "Order status.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "currency": { "description": "Currency the order was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "User ID who owns the order. 0 for guests.", "type": "integer", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "set_paid": { "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unique transaction ID.", "type": "string", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Line item meta data.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta label.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "transition_status": { "description": "The status to transition the subscription to. Unlike the \"status\" param, this will calculate and update the subscription dates.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "billing_interval": { "description": "The number of billing periods between subscription renewals.", "type": "integer", "required": false }, "billing_period": { "description": "Billing period for the subscription.", "type": "string", "enum": [ "day", "week", "month", "year" ], "required": false }, "payment_details": { "description": "Subscription payment details.", "type": "object", "properties": { "method_id": { "description": "Payment gateway ID.", "type": "string", "context": [ "edit" ] } }, "required": false }, "start_date": { "description": "The subscription's start date.", "type": [ "null", "string" ], "required": false }, "trial_end_date": { "description": "The subscription's trial date", "type": [ "null", "string" ], "required": false }, "next_payment_date": { "description": "The subscription's next payment date.", "type": [ "null", "string" ], "required": false }, "end_date": { "description": "The subscription's end date.", "type": [ "null", "string" ], "required": false }, "removed_line_items": { "description": "Removed line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Removed line item meta data.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta label.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v1\/subscriptions\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "description": "Order status.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "currency": { "description": "Currency the order was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "User ID who owns the order. 0 for guests.", "type": "integer", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "set_paid": { "description": "Define if the order is paid. It will set the status to processing and reduce stock items.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unique transaction ID.", "type": "string", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Line item meta data.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta label.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "transition_status": { "description": "The status to transition the subscription to. Unlike the \"status\" param, this will calculate and update the subscription dates.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "billing_interval": { "description": "The number of billing periods between subscription renewals.", "type": "integer", "required": false }, "billing_period": { "description": "Billing period for the subscription.", "type": "string", "enum": [ "day", "week", "month", "year" ], "required": false }, "payment_details": { "description": "Subscription payment details.", "type": "object", "properties": { "method_id": { "description": "Payment gateway ID.", "type": "string", "context": [ "edit" ] } }, "required": false }, "start_date": { "description": "The subscription's start date.", "type": [ "null", "string" ], "required": false }, "trial_end_date": { "description": "The subscription's trial date", "type": [ "null", "string" ], "required": false }, "next_payment_date": { "description": "The subscription's next payment date.", "type": [ "null", "string" ], "required": false }, "end_date": { "description": "The subscription's end date.", "type": [ "null", "string" ], "required": false }, "removed_line_items": { "description": "Removed line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Removed line item meta data.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta label.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/subscriptions\/batch" } ] } }, "\/wc\/v1\/subscriptions\/(?P[\\d]+)\/orders": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Use WP Query arguments to modify the response; private query vars require appropriate authorization.", "required": false }, "status": { "default": "any", "description": "Limit result set to orders assigned a specific status.", "type": "string", "enum": [ "any", "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "customer": { "description": "Limit result set to orders assigned a specific customer.", "type": "integer", "required": false }, "product": { "description": "Limit result set to orders assigned a specific product.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Number of decimal points to use in each resource.", "type": "integer", "required": false } } } ] }, "\/wc\/v1\/subscriptions\/statuses": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v1\/subscriptions\/statuses" } ] } }, "\/wc\/v1\/subscriptions\/(?P[\\d]+)\/notes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Order note content.", "required": true }, "customer_note": { "default": false, "description": "Shows\/define if the note is only for reference or for the customer (the user will be notified).", "type": "boolean", "required": false } } } ] }, "\/wc\/v1\/subscriptions\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wc\/v3\/subscriptions": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Limit result set to subscriptions which have specific statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ] }, "required": false }, "customer": { "description": "Limit result set to orders assigned a specific customer.", "type": "integer", "required": false }, "product": { "description": "Limit result set to orders assigned a specific product.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Number of decimal points to use in each resource.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Only show meta which is meant to be displayed for an order.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Subscription status.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "currency": { "default": "EUR", "description": "Currency the subscription was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "User ID who owns the subscription.", "type": "integer", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Whether the coupon grants free shipping or not.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "manual_update": { "default": false, "description": "Set the action as manual so that the order note registers as \"added by user\".", "type": "boolean", "required": false }, "transition_status": { "description": "The status to transition a subscription to.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "billing_interval": { "description": "The number of billing periods between subscription renewals.", "type": "integer", "required": false }, "billing_period": { "description": "Billing period for the subscription.", "type": "string", "enum": [ "day", "week", "month", "year" ], "required": false }, "payment_details": { "description": "Subscription payment details.", "type": "object", "properties": { "post_meta": { "description": "Payment method meta and token in a post_meta_key: token format.", "type": "object", "context": [ "edit" ] }, "user_meta": { "description": "Payment method meta and token in a user_meta_key : token format.", "type": "object", "context": [ "view" ] } }, "required": false }, "start_date": { "description": "The subscription's start date, as GMT.", "type": [ "null", "string" ], "required": false }, "trial_date": { "description": "The subscription's trial date, as GMT.", "type": [ "null", "string" ], "required": false }, "next_payment_date": { "description": "The subscription's next payment date, as GMT.", "type": [ "null", "string" ], "required": false }, "cancelled_date": { "description": "The subscription's cancelled date, as GMT.", "type": [ "null", "string" ], "required": false }, "end_date": { "description": "The subscription's end date, as GMT.", "type": [ "null", "string" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/subscriptions" } ] } }, "\/wc\/v3\/subscriptions\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "description": "Subscription status.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "currency": { "description": "Currency the subscription was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "User ID who owns the subscription.", "type": "integer", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Whether the coupon grants free shipping or not.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "manual_update": { "description": "Set the action as manual so that the order note registers as \"added by user\".", "type": "boolean", "required": false }, "transition_status": { "description": "The status to transition a subscription to.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "billing_interval": { "description": "The number of billing periods between subscription renewals.", "type": "integer", "required": false }, "billing_period": { "description": "Billing period for the subscription.", "type": "string", "enum": [ "day", "week", "month", "year" ], "required": false }, "payment_details": { "description": "Subscription payment details.", "type": "object", "properties": { "post_meta": { "description": "Payment method meta and token in a post_meta_key: token format.", "type": "object", "context": [ "edit" ] }, "user_meta": { "description": "Payment method meta and token in a user_meta_key : token format.", "type": "object", "context": [ "view" ] } }, "required": false }, "start_date": { "description": "The subscription's start date, as GMT.", "type": [ "null", "string" ], "required": false }, "trial_date": { "description": "The subscription's trial date, as GMT.", "type": [ "null", "string" ], "required": false }, "next_payment_date": { "description": "The subscription's next payment date, as GMT.", "type": [ "null", "string" ], "required": false }, "cancelled_date": { "description": "The subscription's cancelled date, as GMT.", "type": [ "null", "string" ], "required": false }, "end_date": { "description": "The subscription's end date, as GMT.", "type": [ "null", "string" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Whether to bypass trash and force deletion.", "required": false } } } ] }, "\/wc\/v3\/subscriptions\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "Parent order ID.", "type": "integer", "required": false }, "status": { "description": "Subscription status.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "currency": { "description": "Currency the subscription was created with, in ISO format.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "User ID who owns the subscription.", "type": "integer", "required": false }, "customer_note": { "description": "Note left by customer during checkout.", "type": "string", "required": false }, "billing": { "description": "Billing address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Email address.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Phone number.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Shipping address.", "type": "object", "properties": { "first_name": { "description": "First name.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Last name.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Company name.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Address line 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Address line 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "City name.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO code or name of the state, province or district.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postal code.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Country code in ISO 3166-1 alpha-2 format.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Payment method ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Payment method title.", "type": "string", "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Shipping lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Shipping method name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Shipping method ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Fee lines data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Fee name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of fee.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tax status of fee.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Coupons line data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Coupon code.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Discount total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Discount total tax.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Whether the coupon grants free shipping or not.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Meta data.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "manual_update": { "description": "Set the action as manual so that the order note registers as \"added by user\".", "type": "boolean", "required": false }, "transition_status": { "description": "The status to transition a subscription to.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "billing_interval": { "description": "The number of billing periods between subscription renewals.", "type": "integer", "required": false }, "billing_period": { "description": "Billing period for the subscription.", "type": "string", "enum": [ "day", "week", "month", "year" ], "required": false }, "payment_details": { "description": "Subscription payment details.", "type": "object", "properties": { "post_meta": { "description": "Payment method meta and token in a post_meta_key: token format.", "type": "object", "context": [ "edit" ] }, "user_meta": { "description": "Payment method meta and token in a user_meta_key : token format.", "type": "object", "context": [ "view" ] } }, "required": false }, "start_date": { "description": "The subscription's start date, as GMT.", "type": [ "null", "string" ], "required": false }, "trial_date": { "description": "The subscription's trial date, as GMT.", "type": [ "null", "string" ], "required": false }, "next_payment_date": { "description": "The subscription's next payment date, as GMT.", "type": [ "null", "string" ], "required": false }, "cancelled_date": { "description": "The subscription's cancelled date, as GMT.", "type": [ "null", "string" ], "required": false }, "end_date": { "description": "The subscription's end date, as GMT.", "type": [ "null", "string" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/subscriptions\/batch" } ] } }, "\/wc\/v3\/subscriptions\/statuses": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wc\/v3\/subscriptions\/statuses" } ] } }, "\/wc\/v3\/subscriptions\/(?P[\\d]+)\/orders": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific ids.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by object attribute.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Limit result set to those of particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Limit result set to subscriptions which have specific statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ] }, "required": false }, "customer": { "description": "Limit result set to orders assigned a specific customer.", "type": "integer", "required": false }, "product": { "description": "Limit result set to orders assigned a specific product.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Number of decimal points to use in each resource.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Only show meta which is meant to be displayed for an order.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false } } } ] }, "\/wc\/v3\/subscriptions\/(?P[\\d]+)\/notes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "type": { "default": "any", "description": "Limit result to customers or internal notes.", "type": "string", "enum": [ "any", "customer", "internal" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Order note content.", "required": true }, "customer_note": { "default": false, "description": "If true, the note will be shown to customers and they will be notified. If false, the note will be for admin reference only.", "type": "boolean", "required": false }, "added_by_user": { "default": false, "description": "If true, this note will be attributed to the current user. If false, the note will be attributed to the system.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/subscriptions\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "order_id": { "description": "The order ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Required to be true, as resource does not support trashing.", "required": false } } } ] }, "\/wp\/v2\/posts": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "sticky": { "description": "Avgrens resultatsettet til element som er fastlimte.", "type": "boolean", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Om utdraget er beskytta med eit passord.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "The format for the post.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_post_oembed": { "type": "string", "description": "", "default": "" }, "ocean_post_self_hosted_media": { "type": "string", "description": "", "default": "" }, "ocean_post_video_embed": { "type": "string", "description": "", "default": "" }, "ocean_link_format": { "type": "string", "description": "", "default": "" }, "ocean_link_format_target": { "type": "string", "description": "", "default": "self" }, "ocean_quote_format": { "type": "string", "description": "", "default": "" }, "ocean_quote_format_link": { "type": "string", "description": "", "default": "post" }, "ocean_gallery_link_images": { "type": "string", "description": "", "default": "on" }, "ocean_gallery_id": { "type": "array", "description": "", "default": "", "items": { "type": "integer" } }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "sticky": { "description": "Whether or not the post should be treated as sticky.", "type": "boolean", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/posts" } ] } }, "\/wp\/v2\/posts\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Passordet for innlegget dersom det er passordbeskytta.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Om utdraget er beskytta med eit passord.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "The format for the post.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_post_oembed": { "type": "string", "description": "", "default": "" }, "ocean_post_self_hosted_media": { "type": "string", "description": "", "default": "" }, "ocean_post_video_embed": { "type": "string", "description": "", "default": "" }, "ocean_link_format": { "type": "string", "description": "", "default": "" }, "ocean_link_format_target": { "type": "string", "description": "", "default": "self" }, "ocean_quote_format": { "type": "string", "description": "", "default": "" }, "ocean_quote_format_link": { "type": "string", "description": "", "default": "post" }, "ocean_gallery_link_images": { "type": "string", "description": "", "default": "on" }, "ocean_gallery_id": { "type": "array", "description": "", "default": "", "items": { "type": "integer" } }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "sticky": { "description": "Whether or not the post should be treated as sticky.", "type": "boolean", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter objektattributt.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom revisjonar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Om utdraget er beskytta med eit passord.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "The format for the post.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_post_oembed": { "type": "string", "description": "", "default": "" }, "ocean_post_self_hosted_media": { "type": "string", "description": "", "default": "" }, "ocean_post_video_embed": { "type": "string", "description": "", "default": "" }, "ocean_link_format": { "type": "string", "description": "", "default": "" }, "ocean_link_format_target": { "type": "string", "description": "", "default": "self" }, "ocean_quote_format": { "type": "string", "description": "", "default": "" }, "ocean_quote_format_link": { "type": "string", "description": "", "default": "post" }, "ocean_gallery_link_images": { "type": "string", "description": "", "default": "on" }, "ocean_gallery_id": { "type": "array", "description": "", "default": "", "items": { "type": "integer" } }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "sticky": { "description": "Whether or not the post should be treated as sticky.", "type": "boolean", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/pages": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "parent": { "description": "Avgrens resultatsettet til dei som tilh\u00f8yrer bestemte foreldre-ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Avgrens resultatsett til alle element unntekne dei med en spesifikk foreldre-ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the post.", "type": "integer", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Om utdraget er beskytta med eit passord.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/pages" } ] } }, "\/wp\/v2\/pages\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Passordet for innlegget dersom det er passordbeskytta.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the post.", "type": "integer", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Om utdraget er beskytta med eit passord.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter objektattributt.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom revisjonar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Om utdraget er beskytta med eit passord.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/media": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "parent": { "description": "Avgrens resultatsettet til dei som tilh\u00f8yrer bestemte foreldre-ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Avgrens resultatsett til alle element unntekne dei med en spesifikk foreldre-ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "inherit", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "inherit", "private", "trash" ], "type": "string" }, "required": false }, "media_type": { "default": null, "description": "Avgrens resultatsett til vedlegg av ein spesifikk media-type.", "type": "string", "enum": [ "image", "video", "text", "application", "audio" ], "required": false }, "mime_type": { "default": null, "description": "Avgrens resultatsett til vedlegg av ein bestemt MIME-type.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "alt_text": { "description": "Alternativ visingstekst n\u00e5r vedlegget ikkje vert vist.", "type": "string", "required": false }, "caption": { "description": "Biletteksten for vedlegget.", "type": "object", "properties": { "raw": { "description": "Sklidring for vedlegget, slik det eksisterer i databasen.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML-sklidring for vedlegget, omgjort for vising.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Skildring av vedlegget.", "type": "object", "properties": { "raw": { "description": "Description for the attachment, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML description for the attachment, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "post": { "description": "ID-en for vedlegget sitt tilknytta innlegg.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/media" } ] } }, "\/wp\/v2\/media\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "alt_text": { "description": "Alternativ visingstekst n\u00e5r vedlegget ikkje vert vist.", "type": "string", "required": false }, "caption": { "description": "Biletteksten for vedlegget.", "type": "object", "properties": { "raw": { "description": "Sklidring for vedlegget, slik det eksisterer i databasen.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML-sklidring for vedlegget, omgjort for vising.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Skildring av vedlegget.", "type": "object", "properties": { "raw": { "description": "Description for the attachment, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML description for the attachment, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "post": { "description": "ID-en for vedlegget sitt tilknytta innlegg.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/wp\/v2\/media\/(?P[\\d]+)\/post-process": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier for the attachment.", "type": "integer", "required": false }, "action": { "type": "string", "enum": [ "create-image-subsizes" ], "required": true } } } ] }, "\/wp\/v2\/media\/(?P[\\d]+)\/edit": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "src": { "description": "Adresse til den redigerte biletfila.", "type": "string", "format": "uri", "required": true }, "modifiers": { "description": "Tabell over biletredigeringar.", "type": "array", "minItems": 1, "items": { "description": "Biletredigering.", "type": "object", "required": [ "type", "args" ], "oneOf": [ { "title": "Rotasjon", "properties": { "type": { "description": "Rotasjonstype.", "type": "string", "enum": [ "rotate" ] }, "args": { "description": "Rotasjonsargument.", "type": "object", "required": [ "angle" ], "properties": { "angle": { "description": "Vinkel i grader \u00e5 rotera biletet med klokka.", "type": "number" } } } } }, { "title": "Skjer til", "properties": { "type": { "description": "Tilskjeringstype.", "type": "string", "enum": [ "crop" ] }, "args": { "description": "Tilskjeringsargument.", "type": "object", "required": [ "left", "top", "width", "height" ], "properties": { "left": { "description": "Vassrett posisjon fr\u00e5 venstre der du skal byrja tilskjeringa, som prosent av biletbreidda.", "type": "number" }, "top": { "description": "Loddrett posisjon fr\u00e5 toppen der du skal byrja tilskjeringa, som prosent av bileth\u00f8gda.", "type": "number" }, "width": { "description": "Breidd p\u00e5 tilskjeringa i prosent av breidda p\u00e5 biletet.", "type": "number" }, "height": { "description": "H\u00f8gd p\u00e5 tilskjeringa i prosent av h\u00f8gda p\u00e5 biletet.", "type": "number" } } } } } ] }, "required": false }, "rotation": { "description": "Kor mange grader du vil rotera biletet med klokka. FORELDA: Bruk `modifiers` i staden.", "type": "integer", "minimum": 0, "exclusiveMinimum": true, "maximum": 360, "exclusiveMaximum": true, "required": false }, "x": { "description": "X-posisjonen \u00e5 starta tilskjeringa fr\u00e5 som prosentdel av biletet. FORELDA: Bruk `modifiers` i staden.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "y": { "description": "Y-posisjonen \u00e5 starta tilskjeringa fr\u00e5 som prosentdel av biletet. FORELDA: Bruk `modifiers` i staden.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "width": { "description": "Breidda \u00e5 skjera til biletet som prosentdel av biletet. FORELDA: Bruk `modifiers` i staden.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "height": { "description": "H\u00f8gda \u00e5 skjera til biletet som prosentdel av biletet. FORELDA: Bruk `modifiers` i staden.", "type": "number", "minimum": 0, "maximum": 100, "required": false } } } ] }, "\/wp\/v2\/menu-items": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 100, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter objektattributt.", "type": "string", "default": "menu_order", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "menus": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien menus.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "menus_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien menus.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "title": { "description": "Tittelen for objektet.", "type": [ "string", "object" ], "properties": { "raw": { "description": "Title for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the object, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "default": "custom", "description": "The family of objects originally represented, such as \"post_type\" or \"taxonomy\".", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "default": "publish", "description": "A named status for the object.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "parent": { "default": 0, "description": "The ID for the parent of the object.", "type": "integer", "minimum": 0, "required": false }, "attr_title": { "description": "Text for the title attribute of the link element for this menu item.", "type": "string", "required": false }, "classes": { "description": "Class names for the link element of this menu item.", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "The description of this menu item.", "type": "string", "required": false }, "menu_order": { "default": 1, "description": "The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".", "type": "string", "required": false }, "object_id": { "default": 0, "description": "The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "The target attribute of the link element for this menu item.", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "The URL to which this menu item points.", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "The XFN relationship expressed in the link of this menu item.", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "The terms assigned to the object in the nav_menu taxonomy.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/menu-items" } ] } }, "\/wp\/v2\/menu-items\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "title": { "description": "Tittelen for objektet.", "type": [ "string", "object" ], "properties": { "raw": { "description": "Title for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the object, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "description": "The family of objects originally represented, such as \"post_type\" or \"taxonomy\".", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "description": "A named status for the object.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "parent": { "description": "The ID for the parent of the object.", "type": "integer", "minimum": 0, "required": false }, "attr_title": { "description": "Text for the title attribute of the link element for this menu item.", "type": "string", "required": false }, "classes": { "description": "Class names for the link element of this menu item.", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "The description of this menu item.", "type": "string", "required": false }, "menu_order": { "description": "The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".", "type": "string", "required": false }, "object_id": { "description": "The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "The target attribute of the link element for this menu item.", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "The URL to which this menu item points.", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "The XFN relationship expressed in the link of this menu item.", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "The terms assigned to the object in the nav_menu taxonomy.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" } }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the object.", "type": "integer", "minimum": 0, "required": false }, "title": { "description": "Tittelen for objektet.", "type": [ "string", "object" ], "properties": { "raw": { "description": "Title for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the object, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "description": "The family of objects originally represented, such as \"post_type\" or \"taxonomy\".", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "description": "A named status for the object.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "attr_title": { "description": "Text for the title attribute of the link element for this menu item.", "type": "string", "required": false }, "classes": { "description": "Class names for the link element of this menu item.", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "The description of this menu item.", "type": "string", "required": false }, "menu_order": { "description": "The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".", "type": "string", "required": false }, "object_id": { "description": "The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "The target attribute of the link element for this menu item.", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "The URL to which this menu item points.", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "The XFN relationship expressed in the link of this menu item.", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "The terms assigned to the object in the nav_menu taxonomy.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" } }, "required": false } } } ] }, "\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/blocks": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "wp_pattern_category": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien wp_pattern_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "wp_pattern_category_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien wp_pattern_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "wp_pattern_sync_status": { "type": "string", "description": "", "default": "", "enum": [ "partial", "unsynced" ] }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "wp_pattern_category": { "description": "The terms assigned to the post in the wp_pattern_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/blocks" } ] } }, "\/wp\/v2\/blocks\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Passordet for innlegget dersom det er passordbeskytta.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "wp_pattern_sync_status": { "type": "string", "description": "", "default": "", "enum": [ "partial", "unsynced" ] }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "wp_pattern_category": { "description": "The terms assigned to the post in the wp_pattern_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter objektattributt.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom revisjonar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "wp_pattern_sync_status": { "type": "string", "description": "", "default": "", "enum": [ "partial", "unsynced" ] }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "wp_pattern_category": { "description": "The terms assigned to the post in the wp_pattern_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The id of a template", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter objektattributt.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The id of a template", "type": "string", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The id of a template", "type": "string", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom revisjonar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "slug": { "description": "Unique slug identifying the template.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "Theme identifier for the template.", "type": "string", "required": false }, "type": { "description": "Type of template.", "type": "string", "required": false }, "content": { "description": "Content of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Content for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the template.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Title of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Title for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "HTML title for the template, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Description of template.", "type": "string", "required": false }, "status": { "description": "Status of template.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "author": { "description": "The ID for the author of the template.", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The id of a template", "type": "string", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/templates": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "wp_id": { "description": "Limit to the specified post id.", "type": "integer", "required": false }, "area": { "description": "Limit to the specified template part area.", "type": "string", "required": false }, "post_type": { "description": "Post type to get the templates for.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "description": "Unique slug identifying the template.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": true }, "theme": { "description": "Theme identifier for the template.", "type": "string", "required": false }, "type": { "description": "Type of template.", "type": "string", "required": false }, "content": { "default": "", "description": "Content of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Content for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the template.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "default": "", "description": "Title of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Title for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "HTML title for the template, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "default": "", "description": "Description of template.", "type": "string", "required": false }, "status": { "default": "publish", "description": "Status of template.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "author": { "description": "The ID for the author of the template.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/templates" } ] } }, "\/wp\/v2\/templates\/lookup": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "The slug of the template to get the fallback for", "type": "string", "required": true }, "is_custom": { "description": "Indicates if a template is custom or part of the template hierarchy", "type": "boolean", "required": false }, "template_prefix": { "description": "The template prefix for the created template. This is used to extract the main template type, e.g. in `taxonomy-books` extracts the `taxonomy`", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/templates\/lookup" } ] } }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "slug": { "description": "Unique slug identifying the template.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "Theme identifier for the template.", "type": "string", "required": false }, "type": { "description": "Type of template.", "type": "string", "required": false }, "content": { "description": "Content of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Content for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the template.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Title of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Title for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "HTML title for the template, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Description of template.", "type": "string", "required": false }, "status": { "description": "Status of template.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "author": { "description": "The ID for the author of the template.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The id of a template", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter objektattributt.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The id of a template", "type": "string", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The id of a template", "type": "string", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom revisjonar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "slug": { "description": "Unique slug identifying the template.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "Theme identifier for the template.", "type": "string", "required": false }, "type": { "description": "Type of template.", "type": "string", "required": false }, "content": { "description": "Content of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Content for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the template.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Title of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Title for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "HTML title for the template, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Description of template.", "type": "string", "required": false }, "status": { "description": "Status of template.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "author": { "description": "The ID for the author of the template.", "type": "integer", "required": false }, "area": { "description": "Where the template part is intended for use (header, footer, etc.)", "type": "string", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The id of a template", "type": "string", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/template-parts": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "wp_id": { "description": "Limit to the specified post id.", "type": "integer", "required": false }, "area": { "description": "Limit to the specified template part area.", "type": "string", "required": false }, "post_type": { "description": "Post type to get the templates for.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "description": "Unique slug identifying the template.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": true }, "theme": { "description": "Theme identifier for the template.", "type": "string", "required": false }, "type": { "description": "Type of template.", "type": "string", "required": false }, "content": { "default": "", "description": "Content of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Content for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the template.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "default": "", "description": "Title of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Title for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "HTML title for the template, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "default": "", "description": "Description of template.", "type": "string", "required": false }, "status": { "default": "publish", "description": "Status of template.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "author": { "description": "The ID for the author of the template.", "type": "integer", "required": false }, "area": { "description": "Where the template part is intended for use (header, footer, etc.)", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/template-parts" } ] } }, "\/wp\/v2\/template-parts\/lookup": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "The slug of the template to get the fallback for", "type": "string", "required": true }, "is_custom": { "description": "Indicates if a template is custom or part of the template hierarchy", "type": "boolean", "required": false }, "template_prefix": { "description": "The template prefix for the created template. This is used to extract the main template type, e.g. in `taxonomy-books` extracts the `taxonomy`", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/template-parts\/lookup" } ] } }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "slug": { "description": "Unique slug identifying the template.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "Theme identifier for the template.", "type": "string", "required": false }, "type": { "description": "Type of template.", "type": "string", "required": false }, "content": { "description": "Content of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Content for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Version of the content block format used by the template.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Title of template.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Title for the template, as it exists in the database.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "HTML title for the template, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Description of template.", "type": "string", "required": false }, "status": { "description": "Status of template.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "author": { "description": "The ID for the author of the template.", "type": "integer", "required": false }, "area": { "description": "Where the template part is intended for use (header, footer, etc.)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/wp\/v2\/navigation": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/navigation" } ] } }, "\/wp\/v2\/navigation\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Passordet for innlegget dersom det er passordbeskytta.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter objektattributt.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom revisjonar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/font-families": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "id", "enum": [ "id", "include" ], "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "theme_json_version": { "description": "Version of the theme.json schema used for the typography settings.", "type": "integer", "default": 2, "minimum": 2, "maximum": 2, "required": false }, "font_family_settings": { "description": "font-family declaration in theme.json format, encoded as a string.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/font-families" } ] } }, "\/wp\/v2\/font-families\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "theme_json_version": { "description": "Version of the theme.json schema used for the typography settings.", "type": "integer", "default": 2, "minimum": 2, "maximum": 2, "required": false }, "font_family_settings": { "description": "font-family declaration in theme.json format, encoded as a string.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/wp\/v2\/font-families\/(?P[\\d]+)\/font-faces": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "font_family_id": { "description": "The ID for the parent font family of the font face.", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "id", "enum": [ "id", "include" ], "required": false } } }, { "methods": [ "POST" ], "args": { "font_family_id": { "description": "The ID for the parent font family of the font face.", "type": "integer", "required": true }, "theme_json_version": { "description": "Version of the theme.json schema used for the typography settings.", "type": "integer", "default": 2, "minimum": 2, "maximum": 2, "required": false }, "font_face_settings": { "description": "font-face declaration in theme.json format, encoded as a string.", "type": "string", "required": true } } } ] }, "\/wp\/v2\/font-families\/(?P[\\d]+)\/font-faces\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "font_family_id": { "description": "The ID for the parent font family of the font face.", "type": "integer", "required": true }, "id": { "description": "Unique identifier for the font face.", "type": "integer", "required": true }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "font_family_id": { "description": "The ID for the parent font family of the font face.", "type": "integer", "required": true }, "id": { "description": "Unique identifier for the font face.", "type": "integer", "required": true }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/wp\/v2\/product": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "popularity", "rating", "popularity", "rating" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Avgrens resultatet basert p\u00e5 tilh\u00f8ve mellom fleire taksonomiar.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "product_cat": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien product_cat.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "product_cat_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien product_cat.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Om du skal ta med undertermar i termane som avgrensar resultata.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "product_tag": { "description": "Avgrens resultata til element som har bestemte termar tildelte i taksonomien product_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Whether items must be assigned all or any of the specified terms.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "product_tag_exclude": { "description": "Avgrens resultatmengda til alle element som har ein bestemt term tildelt i taksonomien product_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Liste over term-IDar.", "description": "Gje treff p\u00e5 termar med desse IDane.", "type": "array", "items": { "type": "integer" } }, { "title": "Taksonomisp\u00f8rjing etter term-IDar.", "description": "Utf\u00f8r ei avansert sp\u00f8rjing etter termar.", "type": "object", "properties": { "terms": { "description": "Term-IDar.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Om utdraget er beskytta med eit passord.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "product_cat": { "description": "The terms assigned to the post in the product_cat taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "The terms assigned to the post in the product_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/product" } ] } }, "\/wp\/v2\/product\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Passordet for innlegget dersom det er passordbeskytta.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Om utdraget er beskytta med eit passord.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "product_cat": { "description": "The terms assigned to the post in the product_cat taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "The terms assigned to the post in the product_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter objektattributt.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom revisjonar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Om utdraget er beskytta med eit passord.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "product_cat": { "description": "The terms assigned to the post in the product_cat taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "The terms assigned to the post in the product_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/sfwd-courses\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter objektattributt.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/sfwd-courses\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom revisjonar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/sfwd-courses\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_course_category": { "description": "The terms assigned to the post in the ld_course_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_course_tag": { "description": "The terms assigned to the post in the ld_course_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "course_materials": { "description": "Course Materials", "type": "html", "required": false }, "course_price_type": { "description": "Course Price Type", "type": "string", "enum": [ "open", "closed", "free", "buynow", "subscribe" ], "required": false }, "custom_button_label": { "description": "Custom Button Label", "type": "text", "required": false }, "custom_button_url": { "description": "Custom Button URL", "type": "text", "required": false }, "course_price": { "description": "Course Price", "type": "text", "required": false }, "course_prerequisite_enabled": { "description": "Enable Course Prerequisites", "type": "boolean", "required": false }, "course_prerequisite": { "description": "Course Prerequisites", "type": "array", "required": false }, "course_prerequisite_compare": { "description": "Course Prerequisites Compare", "type": "string", "enum": [ "ANY", "ALL" ], "required": false }, "course_points_enabled": { "description": "Enable Course Points", "type": "boolean", "required": false }, "course_points": { "description": "Course Points", "type": "number", "required": false }, "course_points_access": { "description": "Course Points Access", "type": "number", "required": false }, "course_disable_lesson_progression": { "description": "Disable Lesson Progression", "type": "boolean", "required": false }, "expire_access": { "description": "Expire Access", "type": "boolean", "required": false }, "expire_access_days": { "description": "Expire Access After (days)", "type": "number", "required": false }, "expire_access_delete_progress": { "description": "Delete Course and Quiz Data After Expiration", "type": "boolean", "required": false } } } ] }, "\/wp\/v2\/sfwd-courses\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/sfwd-lessons\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter objektattributt.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/sfwd-lessons\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom revisjonar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/sfwd-lessons\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_lesson_category": { "description": "The terms assigned to the post in the ld_lesson_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_lesson_tag": { "description": "The terms assigned to the post in the ld_lesson_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "lesson_materials": { "description": "Lesson Materials", "type": "html", "required": false }, "forced_lesson_time": { "description": "Forced Lesson Timer", "type": "text", "required": false }, "lesson_assignment_upload": { "description": "Upload Assignment", "type": "boolean", "required": false }, "auto_approve_assignment": { "description": "Auto Approve Assignment", "type": "boolean", "required": false }, "assignment_upload_limit_count": { "description": "Limit number of uploaded files", "type": "number", "required": false }, "lesson_assignment_deletion_enabled": { "description": "Allow Student to Delete own Assignment(s)", "type": "boolean", "required": false }, "lesson_assignment_points_enabled": { "description": "Award Points for Assignment", "type": "boolean", "required": false }, "lesson_assignment_points_amount": { "description": "Set Number of Points for Assignment", "type": "number", "required": false }, "assignment_upload_limit_extensions": { "description": "Allowed File Extensions", "type": "text", "required": false }, "assignment_upload_limit_size": { "description": "Allowed File Size", "type": "text", "required": false }, "visible_after": { "description": "Make Lesson visible X Days After Sign-up", "type": "number", "required": false }, "visible_after_specific_date": { "description": "Make Lesson Visible on Specific Date", "type": "wp_date_selector", "required": false } } } ] }, "\/wp\/v2\/sfwd-lessons\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/sfwd-topic\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter objektattributt.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/sfwd-topic\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom revisjonar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/sfwd-topic\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "ld_topic_category": { "description": "The terms assigned to the post in the ld_topic_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_topic_tag": { "description": "The terms assigned to the post in the ld_topic_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "topic_materials": { "description": "Topic Materials", "type": "html", "required": false }, "forced_lesson_time": { "description": "Forced Topic Timer", "type": "text", "required": false }, "lesson_assignment_upload": { "description": "Upload Assignment", "type": "boolean", "required": false }, "auto_approve_assignment": { "description": "Auto Approve Assignment", "type": "boolean", "required": false }, "assignment_upload_limit_count": { "description": "Limit number of uploaded files", "type": "number", "required": false }, "lesson_assignment_points_enabled": { "description": "Award Points for Assignment", "type": "boolean", "required": false }, "lesson_assignment_points_amount": { "description": "Set Number of Points for Assignment", "type": "number", "required": false }, "assignment_upload_limit_extensions": { "description": "Allowed File Extensions", "type": "text", "required": false }, "assignment_upload_limit_size": { "description": "Allowed File Size", "type": "text", "required": false } } } ] }, "\/wp\/v2\/sfwd-topic\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/sfwd-quiz\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter objektattributt.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/sfwd-quiz\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom revisjonar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/sfwd-quiz\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "quiz_materials": { "description": "Quiz Materials", "type": "html", "required": false }, "threshold": { "description": "Certificate Threshold", "type": "text", "required": false }, "passingpercentage": { "description": "Passing Percentage", "type": "text", "required": false }, "certificate": { "description": "Associated Certificate", "type": "string", "required": false } } } ] }, "\/wp\/v2\/sfwd-quiz\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/sfwd-question": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Avgrens resultatsett til innlegg med ein spesifikk verdi for menu_order.", "type": "integer", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "quiz": { "default": "", "description": "Quiz ID.", "type": "integer", "required": false }, "question_type": { "default": "single", "description": "Question type.", "type": "enum", "enum": [ "single", "multiple", "free_answer", "sort_answer", "matrix_sort_answer", "cloze_answer", "assessment_answer", "essay" ], "required": false }, "points_total": { "default": "", "description": "Total Points amount", "type": "integer", "required": false }, "points_per_answer": { "default": "", "description": "Different points for each answer", "type": "boolean", "required": false }, "points_show_in_message": { "default": "", "description": "Show reached points in the correct\/incorrect message?", "type": "boolean", "required": false }, "points_diff_modus": { "default": "", "description": "Different points - modus 2 activate", "type": "boolean", "required": false }, "disable_correct": { "default": "", "description": "Disable answer correct setting.", "type": "boolean", "required": false }, "correct_message": { "description": "Message shown when Question is correct.", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "incorrect_message": { "description": "Message shown when Question is correct.", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "correct_same": { "default": "", "description": "Activate hint for this Question.", "type": "boolean", "required": false }, "hints_enabled": { "default": "", "description": "Activate hint for this Question.", "type": "boolean", "required": false }, "hints_message": { "description": "Hint message.", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "answers": { "description": "Question answer sets.", "type": "object", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/sfwd-question" } ] } }, "\/wp\/v2\/sfwd-question\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Passordet for innlegget dersom det er passordbeskytta.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "quiz": { "description": "Quiz ID.", "type": "integer", "required": false }, "question_type": { "description": "Question type.", "type": "enum", "enum": [ "single", "multiple", "free_answer", "sort_answer", "matrix_sort_answer", "cloze_answer", "assessment_answer", "essay" ], "required": false }, "points_total": { "description": "Total Points amount", "type": "integer", "required": false }, "points_per_answer": { "description": "Different points for each answer", "type": "boolean", "required": false }, "points_show_in_message": { "description": "Show reached points in the correct\/incorrect message?", "type": "boolean", "required": false }, "points_diff_modus": { "description": "Different points - modus 2 activate", "type": "boolean", "required": false }, "disable_correct": { "description": "Disable answer correct setting.", "type": "boolean", "required": false }, "correct_message": { "description": "Message shown when Question is correct.", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "incorrect_message": { "description": "Message shown when Question is correct.", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "correct_same": { "description": "Activate hint for this Question.", "type": "boolean", "required": false }, "hints_enabled": { "description": "Activate hint for this Question.", "type": "boolean", "required": false }, "hints_message": { "description": "Hint message.", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "answers": { "description": "Question answer sets.", "type": "object", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/wp\/v2\/sfwd-question\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter objektattributt.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/sfwd-question\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom revisjonar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/sfwd-question\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "quiz": { "description": "Quiz ID.", "type": "integer", "required": false }, "question_type": { "description": "Question type.", "type": "enum", "enum": [ "single", "multiple", "free_answer", "sort_answer", "matrix_sort_answer", "cloze_answer", "assessment_answer", "essay" ], "required": false }, "points_total": { "description": "Total Points amount", "type": "integer", "required": false }, "points_per_answer": { "description": "Different points for each answer", "type": "boolean", "required": false }, "points_show_in_message": { "description": "Show reached points in the correct\/incorrect message?", "type": "boolean", "required": false }, "points_diff_modus": { "description": "Different points - modus 2 activate", "type": "boolean", "required": false }, "disable_correct": { "description": "Disable answer correct setting.", "type": "boolean", "required": false }, "correct_message": { "description": "Message shown when Question is correct.", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "incorrect_message": { "description": "Message shown when Question is correct.", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "correct_same": { "description": "Activate hint for this Question.", "type": "boolean", "required": false }, "hints_enabled": { "description": "Activate hint for this Question.", "type": "boolean", "required": false }, "hints_message": { "description": "Hint message.", "type": "object", "properties": { "raw": { "description": "Content for the object, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the object, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "answers": { "description": "Question answer sets.", "type": "object", "required": false } } } ] }, "\/wp\/v2\/sfwd-question\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/ld-exam": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/ld-exam" } ] } }, "\/wp\/v2\/ld-exam\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Passordet for innlegget dersom det er passordbeskytta.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/wp\/v2\/ld-exam\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter objektattributt.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/ld-exam\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom revisjonar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/ld-exam\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "footnotes": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/ld-exam\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/groups\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter objektattributt.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/groups\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom revisjonar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/groups\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "categories": { "description": "The terms assigned to the post in the category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "The terms assigned to the post in the post_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_category": { "description": "The terms assigned to the post in the ld_group_category taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "ld_group_tag": { "description": "The terms assigned to the post in the ld_group_tag taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wp\/v2\/groups\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/oceanwp_library": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "oh_enable_hook": { "type": "string", "description": "", "default": "disable" }, "oh_hook_location": { "type": "string", "description": "", "default": "" }, "oh_hook_priority": { "type": "number", "description": "", "default": 10 }, "oh_hook_php": { "type": "string", "description": "", "default": "disable" }, "oh_hook_cond_logic": { "type": "boolean", "description": "", "default": false }, "display_on": { "type": "array", "description": "", "default": "", "items": { "type": "string" } }, "hide_on": { "type": "array", "description": "", "default": "", "items": { "type": "string" } }, "oh_hook_user_roles": { "type": "boolean", "description": "", "default": false }, "user_roles_select": { "type": "array", "description": "", "default": "", "items": { "type": "string" } }, "php_data": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/oceanwp_library" } ] } }, "\/wp\/v2\/oceanwp_library\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Passordet for innlegget dersom det er passordbeskytta.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "oh_enable_hook": { "type": "string", "description": "", "default": "disable" }, "oh_hook_location": { "type": "string", "description": "", "default": "" }, "oh_hook_priority": { "type": "number", "description": "", "default": 10 }, "oh_hook_php": { "type": "string", "description": "", "default": "disable" }, "oh_hook_cond_logic": { "type": "boolean", "description": "", "default": false }, "display_on": { "type": "array", "description": "", "default": "", "items": { "type": "string" } }, "hide_on": { "type": "array", "description": "", "default": "", "items": { "type": "string" } }, "oh_hook_user_roles": { "type": "boolean", "description": "", "default": false }, "user_roles_select": { "type": "array", "description": "", "default": "", "items": { "type": "string" } }, "php_data": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/wp\/v2\/oceanwp_library\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter objektattributt.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/oceanwp_library\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the revision.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom revisjonar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/oceanwp_library\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "ocean_post_layout": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_style": { "type": "string", "description": "", "default": "" }, "ocean_both_sidebars_content_width": { "type": "number", "description": "", "default": 0 }, "ocean_both_sidebars_sidebars_width": { "type": "number", "description": "", "default": 0 }, "ocean_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_second_sidebar": { "type": "string", "description": "", "default": "" }, "ocean_disable_margins": { "type": "string", "description": "", "default": "enable" }, "ocean_add_body_class": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_top_bar": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_header": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_header": { "type": "string", "description": "", "default": "" }, "ocean_has_shortcode": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_title": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_widgets": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_before_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_shortcode_after_footer_bottom": { "type": "string", "description": "", "default": "" }, "ocean_display_top_bar": { "type": "string", "description": "", "default": "default" }, "ocean_display_header": { "type": "string", "description": "", "default": "default" }, "ocean_header_style": { "type": "string", "description": "", "default": "" }, "ocean_center_header_left_menu": { "type": "string", "description": "", "default": "" }, "ocean_custom_header_template": { "type": "string", "description": "", "default": "" }, "ocean_custom_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_retina_logo": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_width": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_tablet_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_custom_logo_mobile_max_height": { "type": "number", "description": "", "default": 0 }, "ocean_header_custom_menu": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_family": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_subset": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_size": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_font_size_unit": { "type": "string", "description": "", "default": "px" }, "ocean_menu_typo_font_weight": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_font_weight_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_tablet": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_transform_mobile": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_line_height": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_line_height_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_typo_spacing": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_tablet": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_mobile": { "type": "number", "description": "", "default": 0 }, "ocean_menu_typo_spacing_unit": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_hover": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_color_active": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_hover_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_link_active_background": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_bg": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "ocean_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_title": { "type": "string", "description": "", "default": "default" }, "ocean_disable_heading": { "type": "string", "description": "", "default": "default" }, "ocean_post_title": { "type": "string", "description": "", "default": "" }, "ocean_post_subheading": { "type": "string", "description": "", "default": "" }, "ocean_post_title_style": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background_color": { "type": "string", "description": "", "default": "" }, "ocean_post_title_background": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_image_position": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_attachment": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_repeat": { "type": "string", "description": "", "default": "" }, "ocean_post_title_bg_image_size": { "type": "string", "description": "", "default": "" }, "ocean_post_title_height": { "type": "number", "description": "", "default": 0 }, "ocean_post_title_bg_overlay": { "type": "number", "description": "", "default": 0.5 }, "ocean_post_title_bg_overlay_color": { "type": "string", "description": "", "default": "" }, "ocean_disable_breadcrumbs": { "type": "string", "description": "", "default": "default" }, "ocean_breadcrumbs_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_separator_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_color": { "type": "string", "description": "", "default": "" }, "ocean_breadcrumbs_links_hover_color": { "type": "string", "description": "", "default": "" }, "ocean_display_footer_widgets": { "type": "string", "description": "", "default": "default" }, "ocean_display_footer_bottom": { "type": "string", "description": "", "default": "default" }, "ocean_custom_footer_template": { "type": "string", "description": "", "default": "" }, "osh_disable_topbar_sticky": { "type": "string", "description": "", "default": "default" }, "osh_disable_header_sticky": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_style": { "type": "string", "description": "", "default": "default" }, "osh_sticky_header_effect": { "type": "string", "description": "", "default": "" }, "osh_custom_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_retina_sticky_logo": { "type": "number", "description": "", "default": 0 }, "osh_custom_sticky_logo_height": { "type": "number", "description": "", "default": 0 }, "osh_background_color": { "type": "string", "description": "", "default": "" }, "osh_links_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_color": { "type": "string", "description": "", "default": "" }, "osh_links_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_hover_bg_color": { "type": "string", "description": "", "default": "" }, "osh_links_active_bg_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_links_color": { "type": "string", "description": "", "default": "" }, "osh_menu_social_hover_links_color": { "type": "string", "description": "", "default": "" }, "oh_enable_hook": { "type": "string", "description": "", "default": "disable" }, "oh_hook_location": { "type": "string", "description": "", "default": "" }, "oh_hook_priority": { "type": "number", "description": "", "default": 10 }, "oh_hook_php": { "type": "string", "description": "", "default": "disable" }, "oh_hook_cond_logic": { "type": "boolean", "description": "", "default": false }, "display_on": { "type": "array", "description": "", "default": "", "items": { "type": "string" } }, "hide_on": { "type": "array", "description": "", "default": "", "items": { "type": "string" } }, "oh_hook_user_roles": { "type": "boolean", "description": "", "default": false }, "user_roles_select": { "type": "array", "description": "", "default": "", "items": { "type": "string" } }, "php_data": { "type": "string", "description": "", "default": "" } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/oceanwp_library\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/sfwd-essays": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "any", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "graded", "not_graded" ], "type": "string" }, "required": false }, "course": { "description": "Filter by Course ID", "type": "integer", "required": false }, "lesson": { "description": "Filter by Lesson ID", "type": "integer", "default": 0, "required": false }, "topic": { "description": "Filter by Topic ID", "type": "integer", "default": 0, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "course": { "default": 0, "description": "Course ID", "type": "integer", "required": false }, "lesson": { "default": 0, "description": "Lesson ID", "type": "integer", "required": false }, "topic": { "default": 0, "description": "Topic ID", "type": "integer", "required": false }, "points_max": { "default": 0, "description": "Essay Points Maximum", "type": "integer", "required": false }, "points_awarded": { "default": 0, "description": "Essay Points Awarded", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/sfwd-essays" } ] } }, "\/wp\/v2\/sfwd-essays\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Passordet for innlegget dersom det er passordbeskytta.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "course": { "description": "Course ID", "type": "integer", "required": false }, "lesson": { "description": "Lesson ID", "type": "integer", "required": false }, "topic": { "description": "Topic ID", "type": "integer", "required": false }, "points_max": { "description": "Essay Points Maximum", "type": "integer", "required": false }, "points_awarded": { "description": "Essay Points Awarded", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/wp\/v2\/sfwd-essays\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Om innhaldet er passordbeskytta.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "course": { "description": "Course ID", "type": "integer", "required": false }, "lesson": { "description": "Lesson ID", "type": "integer", "required": false }, "topic": { "description": "Topic ID", "type": "integer", "required": false }, "points_max": { "description": "Essay Points Maximum", "type": "integer", "required": false }, "points_awarded": { "description": "Essay Points Awarded", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/sfwd-essays\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/sfwd-assignment": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til innlegg publisert etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Avgrens svar til innlegg som er endra etter ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultatsett til innlegg knytt til spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Forsikre at resultatsettet ekskluderer innlegg tilordna spesifikke forfattarar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Avgrens svar til innlegg publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Avgrens svar til innlegg som er endra f\u00f8r ein gjeven dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Avgrens resultatsett til innlegg med ei eller fleire spesfikke fastlenkjer.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "any", "description": "Avgrens resultatsett til innlegg knytt til ein eller fleire statusar.", "type": "array", "items": { "enum": [ "graded", "not_graded" ], "type": "string" }, "required": false }, "course": { "description": "Filter by Course ID", "type": "integer", "required": false }, "lesson": { "description": "Filter by Lesson ID", "type": "integer", "default": 0, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "course": { "default": 0, "description": "Course ID", "type": "integer", "required": false }, "lesson": { "default": 0, "description": "Lesson ID", "type": "integer", "required": false }, "topic": { "default": 0, "description": "Topic ID", "type": "integer", "required": false }, "approved_status": { "default": "", "description": "Assignment Approved Status", "type": "string", "enum": [ "", "approved", "not_approved" ], "required": false }, "points_enabled": { "default": 0, "description": "Assignment Points Enabled", "type": "boolean", "required": false }, "points_max": { "default": 0, "description": "Assignment Points Maximum", "type": "integer", "required": false }, "points_awarded": { "default": 0, "description": "Assignment Points Awarded", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/sfwd-assignment" } ] } }, "\/wp\/v2\/sfwd-assignment\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Passordet for innlegget dersom det er passordbeskytta.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "course": { "description": "Course ID", "type": "integer", "required": false }, "lesson": { "description": "Lesson ID", "type": "integer", "required": false }, "topic": { "description": "Topic ID", "type": "integer", "required": false }, "approved_status": { "description": "Assignment Approved Status", "type": "string", "enum": [ "", "approved", "not_approved" ], "required": false }, "points_enabled": { "description": "Assignment Points Enabled", "type": "boolean", "required": false }, "points_max": { "description": "Assignment Points Maximum", "type": "integer", "required": false }, "points_awarded": { "description": "Assignment Points Awarded", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false } } } ] }, "\/wp\/v2\/sfwd-assignment\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "graded", "not_graded" ], "required": false }, "password": { "description": "Eit passord for \u00e5 beskytte tilgangen til innhaldet og utdraget.", "type": "string", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "course": { "description": "Course ID", "type": "integer", "required": false }, "lesson": { "description": "Lesson ID", "type": "integer", "required": false }, "topic": { "description": "Topic ID", "type": "integer", "required": false }, "approved_status": { "description": "Assignment Approved Status", "type": "string", "enum": [ "", "approved", "not_approved" ], "required": false }, "points_enabled": { "description": "Assignment Points Enabled", "type": "boolean", "required": false }, "points_max": { "description": "Assignment Points Maximum", "type": "integer", "required": false }, "points_awarded": { "description": "Assignment Points Awarded", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/sfwd-assignment\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the autosave.", "type": "integer", "required": false }, "id": { "description": "The ID for the autosave.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/types" } ] } }, "\/wp\/v2\/types\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "type": { "description": "Ein alfanumerisk identifikator for innleggstypen.", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/statuses": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/statuses" } ] } }, "\/wp\/v2\/statuses\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "status": { "description": "Ein alfanumerisk identifikator for statusen.", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/taxonomies": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "type": { "description": "Avgrens resultater til taksonomiar assosierte med ein spesifikk innleggstype.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/taxonomies" } ] } }, "\/wp\/v2\/taxonomies\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "taxonomy": { "description": "Ein alfanumerisk identifikator for taksonomien.", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/categories": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter term-attributt.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Om ressursar knytt til eit innlegg skal visast, eller ikkje.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Avgrens resultatsettet til termar knytt til ein spesifikk forelder.", "type": "integer", "required": false }, "post": { "description": "Avgrens resultatsettet til termar knytt til eit spesifikt innlegg.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Avgrens resultatsettet til termar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": true }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "parent": { "description": "ID til foreldretermen.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/categories" } ] } }, "\/wp\/v2\/categories\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": false }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "parent": { "description": "ID til foreldretermen.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom termar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/tags": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter term-attributt.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Om ressursar knytt til eit innlegg skal visast, eller ikkje.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Avgrens resultatsettet til termar knytt til eit spesifikt innlegg.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Avgrens resultatsettet til termar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": true }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/tags" } ] } }, "\/wp\/v2\/tags\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": false }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom termar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/menus": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter term-attributt.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Om ressursar knytt til eit innlegg skal visast, eller ikkje.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Avgrens resultatsettet til termar knytt til eit spesifikt innlegg.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Avgrens resultatsettet til termar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": true }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false }, "locations": { "description": "The locations assigned to the menu.", "type": "array", "items": { "type": "string" }, "required": false }, "auto_add": { "description": "Whether to automatically add top level pages to this menu.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/menus" } ] } }, "\/wp\/v2\/menus\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": false }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false }, "locations": { "description": "The locations assigned to the menu.", "type": "array", "items": { "type": "string" }, "required": false }, "auto_add": { "description": "Whether to automatically add top level pages to this menu.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom termar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/wp_pattern_category": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter term-attributt.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Om ressursar knytt til eit innlegg skal visast, eller ikkje.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Avgrens resultatsettet til termar knytt til eit spesifikt innlegg.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Avgrens resultatsettet til termar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": true }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/wp_pattern_category" } ] } }, "\/wp\/v2\/wp_pattern_category\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": false }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom termar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/product_cat": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter term-attributt.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Om ressursar knytt til eit innlegg skal visast, eller ikkje.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Avgrens resultatsettet til termar knytt til ein spesifikk forelder.", "type": "integer", "required": false }, "post": { "description": "Avgrens resultatsettet til termar knytt til eit spesifikt innlegg.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Avgrens resultatsettet til termar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": true }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "parent": { "description": "ID til foreldretermen.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/product_cat" } ] } }, "\/wp\/v2\/product_cat\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": false }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "parent": { "description": "ID til foreldretermen.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom termar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/product_tag": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter term-attributt.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Om ressursar knytt til eit innlegg skal visast, eller ikkje.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Avgrens resultatsettet til termar knytt til eit spesifikt innlegg.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Avgrens resultatsettet til termar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": true }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/product_tag" } ] } }, "\/wp\/v2\/product_tag\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": false }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom termar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/ld_course_category": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter term-attributt.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Om ressursar knytt til eit innlegg skal visast, eller ikkje.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Avgrens resultatsettet til termar knytt til ein spesifikk forelder.", "type": "integer", "required": false }, "post": { "description": "Avgrens resultatsettet til termar knytt til eit spesifikt innlegg.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Avgrens resultatsettet til termar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": true }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "parent": { "description": "ID til foreldretermen.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/ld_course_category" } ] } }, "\/wp\/v2\/ld_course_category\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": false }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "parent": { "description": "ID til foreldretermen.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom termar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/ld_course_tag": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter term-attributt.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Om ressursar knytt til eit innlegg skal visast, eller ikkje.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Avgrens resultatsettet til termar knytt til eit spesifikt innlegg.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Avgrens resultatsettet til termar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": true }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/ld_course_tag" } ] } }, "\/wp\/v2\/ld_course_tag\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": false }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom termar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/ld_lesson_category": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter term-attributt.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Om ressursar knytt til eit innlegg skal visast, eller ikkje.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Avgrens resultatsettet til termar knytt til ein spesifikk forelder.", "type": "integer", "required": false }, "post": { "description": "Avgrens resultatsettet til termar knytt til eit spesifikt innlegg.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Avgrens resultatsettet til termar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": true }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "parent": { "description": "ID til foreldretermen.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/ld_lesson_category" } ] } }, "\/wp\/v2\/ld_lesson_category\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": false }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "parent": { "description": "ID til foreldretermen.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom termar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/ld_lesson_tag": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter term-attributt.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Om ressursar knytt til eit innlegg skal visast, eller ikkje.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Avgrens resultatsettet til termar knytt til eit spesifikt innlegg.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Avgrens resultatsettet til termar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": true }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/ld_lesson_tag" } ] } }, "\/wp\/v2\/ld_lesson_tag\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": false }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom termar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/ld_topic_category": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter term-attributt.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Om ressursar knytt til eit innlegg skal visast, eller ikkje.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Avgrens resultatsettet til termar knytt til ein spesifikk forelder.", "type": "integer", "required": false }, "post": { "description": "Avgrens resultatsettet til termar knytt til eit spesifikt innlegg.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Avgrens resultatsettet til termar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": true }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "parent": { "description": "ID til foreldretermen.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/ld_topic_category" } ] } }, "\/wp\/v2\/ld_topic_category\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": false }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "parent": { "description": "ID til foreldretermen.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom termar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/ld_topic_tag": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter term-attributt.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Om ressursar knytt til eit innlegg skal visast, eller ikkje.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Avgrens resultatsettet til termar knytt til eit spesifikt innlegg.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Avgrens resultatsettet til termar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": true }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/ld_topic_tag" } ] } }, "\/wp\/v2\/ld_topic_tag\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": false }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom termar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/ld_group_category": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter term-attributt.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Om ressursar knytt til eit innlegg skal visast, eller ikkje.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Avgrens resultatsettet til termar knytt til ein spesifikk forelder.", "type": "integer", "required": false }, "post": { "description": "Avgrens resultatsettet til termar knytt til eit spesifikt innlegg.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Avgrens resultatsettet til termar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": true }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "parent": { "description": "ID til foreldretermen.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/ld_group_category" } ] } }, "\/wp\/v2\/ld_group_category\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": false }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "parent": { "description": "ID til foreldretermen.", "type": "integer", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom termar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/ld_group_tag": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorter samling etter term-attributt.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Om ressursar knytt til eit innlegg skal visast, eller ikkje.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Avgrens resultatsettet til termar knytt til eit spesifikt innlegg.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Avgrens resultatsettet til termar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": true }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/ld_group_tag" } ] } }, "\/wp\/v2\/ld_group_tag\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "description": { "description": "HTML-skildring av termen.", "type": "string", "required": false }, "name": { "description": "HTML-tittel for termen.", "type": "string", "required": false }, "slug": { "description": "Den alfanumeriske identifikatoren til ein ressurs som er unik for sin type.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik indentifikator for termen.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "M\u00e5 vere sann, ettersom termar ikkje kan leggast i s\u00f8ppelkorga.", "required": false } } } ] }, "\/wp\/v2\/users": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Sort collection by user attribute.", "enum": [ "id", "include", "name", "registered_date", "slug", "include_slugs", "email", "url" ], "type": "string", "required": false }, "slug": { "description": "Avgrens resultatsettet til brukarar med ein eller fleire spesifikke slugs.", "type": "array", "items": { "type": "string" }, "required": false }, "roles": { "description": "Avgrens resultatsettet til brukarar som har minst ei av de oppgjevne rollene. Aksepterer CSV-liste eller enkeltrolle.", "type": "array", "items": { "type": "string" }, "required": false }, "capabilities": { "description": "Limit result set to users matching at least one specific capability provided. Accepts csv list or single capability.", "type": "array", "items": { "type": "string" }, "required": false }, "who": { "description": "Avgrens resultata til brukarar som er rekna som skribentar.", "type": "string", "enum": [ "authors" ], "required": false }, "has_published_posts": { "description": "Limit result set to users who have published posts.", "type": [ "boolean", "array" ], "items": { "type": "string", "enum": { "post": "post", "page": "page", "attachment": "attachment", "nav_menu_item": "nav_menu_item", "wp_block": "wp_block", "wp_template": "wp_template", "wp_template_part": "wp_template_part", "wp_navigation": "wp_navigation", "wp_font_family": "wp_font_family", "wp_font_face": "wp_font_face", "product": "product", "sfwd-courses": "sfwd-courses", "sfwd-lessons": "sfwd-lessons", "sfwd-topic": "sfwd-topic", "sfwd-quiz": "sfwd-quiz", "sfwd-question": "sfwd-question", "ld-exam": "ld-exam", "groups": "groups", "oceanwp_library": "oceanwp_library", "sfwd-essays": "sfwd-essays", "sfwd-assignment": "sfwd-assignment" } }, "required": false } } }, { "methods": [ "POST" ], "args": { "username": { "description": "Innloggingsnamnet til brukaren.", "type": "string", "required": true }, "name": { "description": "Visingsnamnet til brukaren.", "type": "string", "required": false }, "first_name": { "description": "Fornamnet til brukaren.", "type": "string", "required": false }, "last_name": { "description": "Etternamnet til brukaren.", "type": "string", "required": false }, "email": { "description": "Epostadressa til brukaren.", "type": "string", "format": "email", "required": true }, "url": { "description": "URL til brukaren.", "type": "string", "format": "uri", "required": false }, "description": { "description": "Skildring av brukeren.", "type": "string", "required": false }, "locale": { "description": "Sp\u00e5ket til brukaren.", "type": "string", "enum": [ "", "en_US", "ar", "bg_BG", "cs_CZ", "da_DK", "de_DE", "el", "en_GB", "es_ES", "fi", "fr_FR", "hu_HU", "id_ID", "it_IT", "ja", "ko_KR", "nl_NL", "nn_NO", "pl_PL", "pt_PT", "ro_RO", "ru_RU", "sk_SK", "sl_SI", "sv_SE", "tr_TR", "uk", "zh_CN" ], "required": false }, "nickname": { "description": "Kallenamnet til brukaren.", "type": "string", "required": false }, "slug": { "description": "Ein alfanumerisk identifikator for brukaren.", "type": "string", "required": false }, "roles": { "description": "Roller tilordna brukaren.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Passord for brukaren (aldri inkludert).", "type": "string", "required": true }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "persisted_preferences": { "type": "object", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "The date and time the preferences were updated.", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/users" } ] } }, "\/wp\/v2\/users\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unik identifikator for brukaren.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unik identifikator for brukaren.", "type": "integer", "required": false }, "username": { "description": "Innloggingsnamnet til brukaren.", "type": "string", "required": false }, "name": { "description": "Visingsnamnet til brukaren.", "type": "string", "required": false }, "first_name": { "description": "Fornamnet til brukaren.", "type": "string", "required": false }, "last_name": { "description": "Etternamnet til brukaren.", "type": "string", "required": false }, "email": { "description": "Epostadressa til brukaren.", "type": "string", "format": "email", "required": false }, "url": { "description": "URL til brukaren.", "type": "string", "format": "uri", "required": false }, "description": { "description": "Skildring av brukeren.", "type": "string", "required": false }, "locale": { "description": "Sp\u00e5ket til brukaren.", "type": "string", "enum": [ "", "en_US", "ar", "bg_BG", "cs_CZ", "da_DK", "de_DE", "el", "en_GB", "es_ES", "fi", "fr_FR", "hu_HU", "id_ID", "it_IT", "ja", "ko_KR", "nl_NL", "nn_NO", "pl_PL", "pt_PT", "ro_RO", "ru_RU", "sk_SK", "sl_SI", "sv_SE", "tr_TR", "uk", "zh_CN" ], "required": false }, "nickname": { "description": "Kallenamnet til brukaren.", "type": "string", "required": false }, "slug": { "description": "Ein alfanumerisk identifikator for brukaren.", "type": "string", "required": false }, "roles": { "description": "Roller tilordna brukaren.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Passord for brukaren (aldri inkludert).", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "persisted_preferences": { "type": "object", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "The date and time the preferences were updated.", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unik identifikator for brukaren.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "P\u00e5kravd \u00e5 vere sann, ettersom brukarar ikkje kan leggast i s\u00f8ppelkorga.", "required": false }, "reassign": { "type": "integer", "description": "Tilordne den sletta brukaren sine innlegg og lenker til denne brukar-ID-en.", "required": true } } } ] }, "\/wp\/v2\/users\/me": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "username": { "description": "Innloggingsnamnet til brukaren.", "type": "string", "required": false }, "name": { "description": "Visingsnamnet til brukaren.", "type": "string", "required": false }, "first_name": { "description": "Fornamnet til brukaren.", "type": "string", "required": false }, "last_name": { "description": "Etternamnet til brukaren.", "type": "string", "required": false }, "email": { "description": "Epostadressa til brukaren.", "type": "string", "format": "email", "required": false }, "url": { "description": "URL til brukaren.", "type": "string", "format": "uri", "required": false }, "description": { "description": "Skildring av brukeren.", "type": "string", "required": false }, "locale": { "description": "Sp\u00e5ket til brukaren.", "type": "string", "enum": [ "", "en_US", "ar", "bg_BG", "cs_CZ", "da_DK", "de_DE", "el", "en_GB", "es_ES", "fi", "fr_FR", "hu_HU", "id_ID", "it_IT", "ja", "ko_KR", "nl_NL", "nn_NO", "pl_PL", "pt_PT", "ro_RO", "ru_RU", "sk_SK", "sl_SI", "sv_SE", "tr_TR", "uk", "zh_CN" ], "required": false }, "nickname": { "description": "Kallenamnet til brukaren.", "type": "string", "required": false }, "slug": { "description": "Ein alfanumerisk identifikator for brukaren.", "type": "string", "required": false }, "roles": { "description": "Roller tilordna brukaren.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Passord for brukaren (aldri inkludert).", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": { "persisted_preferences": { "type": "object", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "The date and time the preferences were updated.", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "force": { "type": "boolean", "default": false, "description": "P\u00e5kravd \u00e5 vere sann, ettersom brukarar ikkje kan leggast i s\u00f8ppelkorga.", "required": false }, "reassign": { "type": "integer", "description": "Tilordne den sletta brukaren sine innlegg og lenker til denne brukar-ID-en.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/users\/me" } ] } }, "\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "app_id": { "description": "A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.", "type": "string", "format": "uuid", "required": false }, "name": { "description": "Namnet p\u00e5 programpassordet.", "type": "string", "minLength": 1, "pattern": ".*\\S.*", "required": true } } }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords\/introspect": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords\/(?P[\\w\\-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "app_id": { "description": "A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.", "type": "string", "format": "uuid", "required": false }, "name": { "description": "Namnet p\u00e5 programpassordet.", "type": "string", "minLength": 1, "pattern": ".*\\S.*", "required": false } } }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wp\/v2\/comments": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "after": { "description": "Avgrens svar til kommentarar publisert etter ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Avgrens resultata til kommentarar knytt til bestemte brukar-ID-ar. Krev tilgang.", "type": "array", "items": { "type": "integer" }, "required": false }, "author_exclude": { "description": "Sikre at resultata utelet kommentarar tilordna spesifikke brukar-ID-ar. Krev tilgang.", "type": "array", "items": { "type": "integer" }, "required": false }, "author_email": { "default": null, "description": "Avgrens resultatsett til dei fr\u00e5 ein spesifikk forfattars e-postadresse. Krev tilgang.", "format": "email", "type": "string", "required": false }, "before": { "description": "Avgrens svar til kommentarar publisert f\u00f8r ein gitt dato formatert i samsvar med ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by comment attribute.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "post", "parent", "type" ], "required": false }, "parent": { "default": [], "description": "Avgrens resultata til kommentarar med bestemte foreldre-ID-ar.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_exclude": { "default": [], "description": "Sikre at resultatsettet ekskluderar bestemte foreldre-ID-ar.", "type": "array", "items": { "type": "integer" }, "required": false }, "post": { "default": [], "description": "Avgrens resultata til kommentarar tilordna spesifikke innleggs-ID-ar.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approve", "description": "Avgrens resultata til kommentarar knytt til ein bestemt status. Krev tilgang.", "type": "string", "required": false }, "type": { "default": "comment", "description": "Avgrens resultata til kommentarar knytt til ein bestemt type. Krev tilgang.", "type": "string", "required": false }, "password": { "description": "Passordet for innlegget dersom det er passordbeskytta.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "author": { "description": "ID-en til brukarobjektet, dersom forfattar var ein brukar.", "type": "integer", "required": false }, "author_email": { "description": "Email address for the comment author.", "type": "string", "format": "email", "required": false }, "author_ip": { "description": "IP address for the comment author.", "type": "string", "format": "ip", "required": false }, "author_name": { "description": "Display name for the comment author.", "type": "string", "required": false }, "author_url": { "description": "URL for the comment author.", "type": "string", "format": "uri", "required": false }, "author_user_agent": { "description": "User agent for the comment author.", "type": "string", "required": false }, "content": { "description": "The content for the comment.", "type": "object", "properties": { "raw": { "description": "Content for the comment, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the comment, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "date": { "description": "The date the comment was published, in the site's timezone.", "type": "string", "format": "date-time", "required": false }, "date_gmt": { "description": "The date the comment was published, as GMT.", "type": "string", "format": "date-time", "required": false }, "parent": { "default": 0, "description": "The ID for the parent of the comment.", "type": "integer", "required": false }, "post": { "default": 0, "description": "ID-en til det assosierte innleggsobjektet.", "type": "integer", "required": false }, "status": { "description": "State of the comment.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/comments" } ] } }, "\/wp\/v2\/comments\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the comment.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Passordet for innlegget som kommentaren tilh\u00f8yrer (dersom innlegget er passordbeskytta).", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the comment.", "type": "integer", "required": false }, "author": { "description": "ID-en til brukarobjektet, dersom forfattar var ein brukar.", "type": "integer", "required": false }, "author_email": { "description": "Email address for the comment author.", "type": "string", "format": "email", "required": false }, "author_ip": { "description": "IP address for the comment author.", "type": "string", "format": "ip", "required": false }, "author_name": { "description": "Display name for the comment author.", "type": "string", "required": false }, "author_url": { "description": "URL for the comment author.", "type": "string", "format": "uri", "required": false }, "author_user_agent": { "description": "User agent for the comment author.", "type": "string", "required": false }, "content": { "description": "The content for the comment.", "type": "object", "properties": { "raw": { "description": "Content for the comment, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the comment, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "date": { "description": "The date the comment was published, in the site's timezone.", "type": "string", "format": "date-time", "required": false }, "date_gmt": { "description": "The date the comment was published, as GMT.", "type": "string", "format": "date-time", "required": false }, "parent": { "description": "The ID for the parent of the comment.", "type": "integer", "required": false }, "post": { "description": "ID-en til det assosierte innleggsobjektet.", "type": "integer", "required": false }, "status": { "description": "State of the comment.", "type": "string", "required": false }, "meta": { "description": "Metafelt.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the comment.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Om ein skal hoppa over papirkorga og tvinga sletting.", "required": false }, "password": { "description": "Passordet for innlegget som kommentaren tilh\u00f8yrer (dersom innlegget er passordbeskytta).", "type": "string", "required": false } } } ] }, "\/wp\/v2\/search": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "type": { "default": "post", "description": "Avgrens resultata til ein type objekt.", "type": "string", "enum": [ "post", "term", "post-format" ], "required": false }, "subtype": { "default": "any", "description": "Avgrens resultata til element fr\u00e5 ein eller fleire undertypar av objekt.", "type": "array", "items": { "enum": [ "post", "page", "product", "sfwd-courses", "sfwd-lessons", "sfwd-topic", "sfwd-quiz", "ld-exam", "groups", "oceanwp_library", "sfwd-essays", "sfwd-assignment", "category", "post_tag", "product_cat", "product_tag", "ld_course_category", "ld_course_tag", "ld_lesson_category", "ld_lesson_tag", "ld_topic_category", "ld_topic_tag", "ld_group_category", "ld_group_tag", "any" ], "type": "string" }, "required": false }, "exclude": { "description": "Sikre at resultatsettet ekskluderar spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Avgrens resultatsettet til spesifikke ID-ar.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/search" } ] } }, "\/wp\/v2\/block-renderer\/(?P[a-z0-9-]+\/[a-z0-9-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET", "POST" ], "args": { "name": { "description": "Det unike registrerte namnet p\u00e5 blokka.", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "edit" ], "default": "view", "required": false }, "attributes": { "description": "Eigenskapar for blokka.", "type": "object", "default": [], "required": false }, "post_id": { "description": "ID-en for innleggskonteksten.", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/block-types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "namespace": { "description": "Blokknamneomr\u00e5de.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/block-types" } ] } }, "\/wp\/v2\/block-types\/(?P[a-zA-Z0-9_-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "namespace": { "description": "Blokknamneomr\u00e5de.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/block-types\/(?P[a-zA-Z0-9_-]+)\/(?P[a-zA-Z0-9_-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "description": "Blokknamn.", "type": "string", "required": false }, "namespace": { "description": "Blokknamneomr\u00e5de.", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "The ID for the parent of the global styles revision.", "type": "integer", "required": false }, "id": { "description": "Unique identifier for the global styles revision.", "type": "integer", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/global-styles\/themes\/(?P[\\\/\\s%\\w\\.\\(\\)\\[\\]\\@_\\-]+)\/variations": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "stylesheet": { "description": "The theme identifier", "type": "string", "required": false } } } ] }, "\/wp\/v2\/global-styles\/themes\/(?P[^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "stylesheet": { "description": "The theme identifier", "type": "string", "required": false } } } ] }, "\/wp\/v2\/global-styles\/(?P[\\\/\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "The id of a template", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "styles": { "description": "Global styles.", "type": [ "object" ], "required": false }, "settings": { "description": "Global settings.", "type": [ "object" ], "required": false }, "title": { "description": "Title of the global styles variation.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Title for the global styles variation, as it exists in the database.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false } } } ] }, "\/wp\/v2\/settings": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "title": { "description": "Nettstadtittel.", "type": "string", "required": false }, "description": { "description": "Nettstad-slagord.", "type": "string", "required": false }, "url": { "description": "Nettstad-adresse", "type": "string", "format": "uri", "required": false }, "email": { "description": "Denne adressa vert nytta til administrasjonsf\u00f8rem\u00e5l, slik som varsling av nye brukarar.", "type": "string", "format": "email", "required": false }, "timezone": { "description": "Ein by i same tidssone som deg.", "type": "string", "required": false }, "date_format": { "description": "Eit datoformat for alle datostrengar.", "type": "string", "required": false }, "time_format": { "description": "Eit tidsformat for alle tidsstrengar.", "type": "string", "required": false }, "start_of_week": { "description": "Eit nummer tilsvarande vekedagen som veka skal starte p\u00e5.", "type": "integer", "required": false }, "language": { "description": "Spr\u00e5kkode for WordPress.", "type": "string", "required": false }, "use_smilies": { "description": "Konverter emoticons som :-) og :-P til grafikk n\u00e5r dei vert viste.", "type": "boolean", "required": false }, "default_category": { "description": "Standard innleggskategori.", "type": "integer", "required": false }, "default_post_format": { "description": "Standard innleggsformat.", "type": "string", "required": false }, "posts_per_page": { "description": "Blogg-sider viser p\u00e5 det meste.", "type": "integer", "required": false }, "show_on_front": { "description": "What to show on the front page", "type": "string", "required": false }, "page_on_front": { "description": "The ID of the page that should be displayed on the front page", "type": "integer", "required": false }, "page_for_posts": { "description": "The ID of the page that should display the latest posts", "type": "integer", "required": false }, "default_ping_status": { "description": "Gje l\u00f8yve til lenkevarslingar fr\u00e5 andre bloggar (tilbakesporinger og tilbaketr\u00e5kk) p\u00e5 nye artiklar.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "default_comment_status": { "description": "Gje folk lov til \u00e5 skriva kommentarar til nye innlegg.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "site_logo": { "description": "Site logo.", "type": "integer", "required": false }, "site_icon": { "description": "Site icon.", "type": "integer", "required": false }, "pickup_location_settings": { "description": "WooCommerce Local Pickup Method Settings", "type": "object", "properties": { "enabled": { "description": "If enabled, this method will appear on the block based checkout.", "type": "string", "enum": [ "yes", "no" ] }, "title": { "description": "This controls the title which the user sees during checkout.", "type": "string" }, "tax_status": { "description": "If a cost is defined, this controls if taxes are applied to that cost.", "type": "string", "enum": [ "taxable", "none" ] }, "cost": { "description": "Optional cost to charge for local pickup.", "type": "string" } }, "additionalProperties": false, "required": false }, "pickup_locations": { "description": "WooCommerce Local Pickup Locations", "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "address": { "type": "object", "properties": { "address_1": { "type": "string" }, "city": { "type": "string" }, "state": { "type": "string" }, "postcode": { "type": "string" }, "country": { "type": "string" } }, "additionalProperties": false }, "details": { "type": "string" }, "enabled": { "type": "boolean" } }, "additionalProperties": false }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/settings" } ] } }, "\/wp\/v2\/themes": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "status": { "description": "Avgrens resultatet til bunader med ein eller fleire statusar.", "type": "array", "items": { "enum": [ "active", "inactive" ], "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/themes" } ] } }, "\/wp\/v2\/themes\/(?P[^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "stylesheet": { "description": "Stilarket til bunaden. Dette peikar s\u00e6rskilt p\u00e5 bunaden.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/plugins": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "required": false }, "status": { "description": "Avgrens resultata til programtillegg med denne statusen.", "type": "array", "items": { "type": "string", "enum": [ "inactive", "active" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "Kortnamnet for programtillegg-katalogen p\u00e5 wordpress.org.", "pattern": "[\\w\\-]+", "required": true }, "status": { "description": "Om programtillegget er p\u00e5 eller av.", "type": "string", "enum": [ "inactive", "active" ], "default": "inactive", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/plugins" } ] } }, "\/wp\/v2\/plugins\/(?P[^.\\\/]+(?:\\\/[^.\\\/]+)?)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false }, "status": { "description": "Om programtillegget er p\u00e5 eller av.", "type": "string", "enum": [ "inactive", "active" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false } } } ] }, "\/wp\/v2\/sidebars": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/sidebars" } ] } }, "\/wp\/v2\/sidebars\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "The id of a registered sidebar", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "widgets": { "description": "Nested widgets.", "type": "array", "items": { "type": [ "object", "string" ] }, "required": false } } } ] }, "\/wp\/v2\/widget-types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/widget-types" } ] } }, "\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "The widget type id.", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)\/encode": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "The widget type id.", "type": "string", "required": true }, "instance": { "description": "Current instance settings of the widget.", "type": "object", "required": false }, "form_data": { "description": "Serialized widget form data to encode into instance settings.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)\/render": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "The widget type id.", "type": "string", "required": true }, "instance": { "description": "Current instance settings of the widget.", "type": "object", "required": false } } } ] }, "\/wp\/v2\/widgets": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "sidebar": { "description": "The sidebar to return widgets for.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the widget.", "type": "string", "required": false }, "id_base": { "description": "The type of the widget. Corresponds to ID in widget-types endpoint.", "type": "string", "required": false }, "sidebar": { "default": "wp_inactive_widgets", "description": "The sidebar the widget belongs to.", "type": "string", "required": true }, "instance": { "description": "Instance settings of the widget, if supported.", "type": "object", "properties": { "encoded": { "description": "Base64 encoded representation of the instance settings.", "type": "string", "context": [ "edit" ] }, "hash": { "description": "Cryptographic hash of the instance settings.", "type": "string", "context": [ "edit" ] }, "raw": { "description": "Unencoded instance settings, if supported.", "type": "object", "context": [ "edit" ] } }, "required": false }, "form_data": { "description": "URL-encoded form data from the widget admin form. Used to update a widget that does not support instance. Write only.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/widgets" } ] } }, "\/wp\/v2\/widgets\/(?P[\\w\\-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unique identifier for the widget.", "type": "string", "required": false }, "id_base": { "description": "The type of the widget. Corresponds to ID in widget-types endpoint.", "type": "string", "required": false }, "sidebar": { "description": "The sidebar the widget belongs to.", "type": "string", "required": false }, "instance": { "description": "Instance settings of the widget, if supported.", "type": "object", "properties": { "encoded": { "description": "Base64 encoded representation of the instance settings.", "type": "string", "context": [ "edit" ] }, "hash": { "description": "Cryptographic hash of the instance settings.", "type": "string", "context": [ "edit" ] }, "raw": { "description": "Unencoded instance settings, if supported.", "type": "object", "context": [ "edit" ] } }, "required": false }, "form_data": { "description": "URL-encoded form data from the widget admin form. Used to update a widget that does not support instance. Write only.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "force": { "description": "Whether to force removal of the widget, or move it to the inactive sidebar.", "type": "boolean", "required": false } } } ] }, "\/wp\/v2\/block-directory\/search": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "term": { "description": "Avgrens s\u00f8kjeresultata til blokker som passar med s\u00f8kjeordet.", "type": "string", "minLength": 1, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/block-directory\/search" } ] } }, "\/wp\/v2\/pattern-directory\/patterns": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 100, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "string", "minLength": 1, "required": false }, "category": { "description": "Limit results to those matching a category ID.", "type": "integer", "minimum": 1, "required": false }, "keyword": { "description": "Limit results to those matching a keyword ID.", "type": "integer", "minimum": 1, "required": false }, "slug": { "description": "Limit results to those matching a pattern (slug).", "type": "array", "required": false }, "offset": { "description": "Forskyv resultatsettet med eit bestemt tal element.", "type": "integer", "required": false }, "order": { "description": "Sorter attributtar i stigande eller synkande rekkef\u00f8lgje.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "favorite_count" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/pattern-directory\/patterns" } ] } }, "\/wp\/v2\/block-patterns\/patterns": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/block-patterns\/patterns" } ] } }, "\/wp\/v2\/block-patterns\/categories": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/block-patterns\/categories" } ] } }, "\/wp-site-health\/v1": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-site-health\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-site-health\/v1" } ] } }, "\/wp-site-health\/v1\/tests\/background-updates": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-site-health\/v1\/tests\/background-updates" } ] } }, "\/wp-site-health\/v1\/tests\/loopback-requests": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-site-health\/v1\/tests\/loopback-requests" } ] } }, "\/wp-site-health\/v1\/tests\/https-status": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-site-health\/v1\/tests\/https-status" } ] } }, "\/wp-site-health\/v1\/tests\/dotorg-communication": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-site-health\/v1\/tests\/dotorg-communication" } ] } }, "\/wp-site-health\/v1\/tests\/authorization-header": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-site-health\/v1\/tests\/authorization-header" } ] } }, "\/wp-site-health\/v1\/directory-sizes": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-site-health\/v1\/directory-sizes" } ] } }, "\/wp-site-health\/v1\/tests\/page-cache": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-site-health\/v1\/tests\/page-cache" } ] } }, "\/wp-block-editor\/v1": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-block-editor\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-block-editor\/v1" } ] } }, "\/wp-block-editor\/v1\/url-details": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "The URL to process.", "type": "string", "format": "uri", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-block-editor\/v1\/url-details" } ] } }, "\/wp\/v2\/menu-locations": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/menu-locations" } ] } }, "\/wp\/v2\/menu-locations\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "An alphanumeric identifier for the menu location.", "type": "string", "required": false }, "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp-block-editor\/v1\/export": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-block-editor\/v1\/export" } ] } }, "\/wp-block-editor\/v1\/navigation-fallback": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp-block-editor\/v1\/navigation-fallback" } ] } }, "\/wp\/v2\/font-collections": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Maksimalt tal element returnert i resultatsettet.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Avgrens resultat til dei som samsvarer med ein streng.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/font-collections" } ] } }, "\/wp\/v2\/font-collections\/(?P[\\\/\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Virkeomr\u00e5det hvor f\u00f8respurnaden vert gjort. Avgjer felt i responsen.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] } }, "site_logo": 6985, "site_icon": 2177, "site_icon_url": "https:\/\/atlasfitnes.com\/wp-content\/uploads\/2023\/09\/cropped-logo-crn-favicon.png", "_links": { "help": [ { "href": "https:\/\/developer.wordpress.org\/rest-api\/" } ], "wp:featuredmedia": [ { "embeddable": true, "type": "site_logo", "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/media\/6985" }, { "embeddable": true, "type": "site_icon", "href": "https:\/\/atlasfitnes.com\/nn\/wp-json\/wp\/v2\/media\/2177" } ], "curies": [ { "name": "wp", "href": "https:\/\/api.w.org\/{rel}", "templated": true } ] } }