{"name":"TopSleeps","description":"Holiday Rentals Worldwide | Book Direct with the Owner","url":"https:\/\/topsleeps.com","home":"https:\/\/topsleeps.com","gmt_offset":"0","timezone_string":"","namespaces":["oembed\/1.0","code-snippets\/v1","cky\/v1","ninja-forms-submissions","ninja-forms-views","yoast\/v1","getpaid\/v1","invoicing\/v1","wpi\/v1","ayecode-connect\/v1","elementor\/v1","objectcache\/v1","google-site-kit\/v1","elementor-pro\/v1","buddyboss\/v1","wp\/v2","geodir\/v2","wp-site-health\/v1","wp-block-editor\/v1"],"authentication":{"application-passwords":{"endpoints":{"authorization":"https:\/\/topsleeps.com\/wp-admin\/authorize-application.php"}}},"routes":{"\/":{"namespace":"","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/wp-json\/oembed\/1.0"}]}},"\/oembed\/1.0\/embed":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"The URL of the resource for which to fetch oEmbed data.","type":"string","format":"uri","required":true},"format":{"default":"json","required":false},"maxwidth":{"default":600,"required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/oembed\/1.0\/embed"}]}},"\/oembed\/1.0\/proxy":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"description":"The URL of the resource for which to fetch oEmbed data.","type":"string","format":"uri","required":true},"format":{"description":"The oEmbed format to use.","type":"string","default":"json","enum":["json","xml"],"required":false},"maxwidth":{"description":"The maximum width of the embed frame in pixels.","type":"integer","default":600,"required":false},"maxheight":{"description":"The maximum height of the embed frame in pixels.","type":"integer","required":false},"discover":{"description":"Whether to perform an oEmbed discovery request for unsanctioned providers.","type":"boolean","default":true,"required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/oembed\/1.0\/proxy"}]}},"\/code-snippets\/v1":{"namespace":"code-snippets\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"code-snippets\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/code-snippets\/v1"}]}},"\/code-snippets\/v1\/snippets":{"namespace":"code-snippets\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":{"name":{"description":"Descriptive title for the snippet.","type":"string","required":false},"desc":{"description":"Descriptive text associated with snippet.","type":"string","required":false},"code":{"description":"Executable snippet code.","type":"string","required":false},"tags":{"description":"List of tag categories the snippet belongs to.","type":"array","required":false},"scope":{"description":"Context in which the snippet is executable.","type":"string","required":false},"active":{"description":"Snippet activation status.","type":"boolean","required":false},"priority":{"description":"Relative priority in which the snippet is executed.","type":"integer","required":false},"network":{"description":"Whether the snippet is network-wide instead of site-wide.","type":"boolean","required":false},"shared_network":{"description":"If a network snippet, whether can be activated on discrete sites instead of network-wide.","type":"boolean","required":false},"modified":{"description":"Date and time when the snippet was last modified, in ISO format.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/code-snippets\/v1\/snippets"}]}},"\/code-snippets\/v1\/snippets\/(?P[\\d]+)":{"namespace":"code-snippets\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Descriptive title for the snippet.","type":"string","required":false},"desc":{"description":"Descriptive text associated with snippet.","type":"string","required":false},"code":{"description":"Executable snippet code.","type":"string","required":false},"tags":{"description":"List of tag categories the snippet belongs to.","type":"array","required":false},"scope":{"description":"Context in which the snippet is executable.","type":"string","required":false},"active":{"description":"Snippet activation status.","type":"boolean","required":false},"priority":{"description":"Relative priority in which the snippet is executed.","type":"integer","required":false},"network":{"description":"Whether the snippet is network-wide instead of site-wide.","type":"boolean","required":false},"shared_network":{"description":"If a network snippet, whether can be activated on discrete sites instead of network-wide.","type":"boolean","required":false},"modified":{"description":"Date and time when the snippet was last modified, in ISO format.","type":"string","required":false}}},{"methods":["DELETE"],"args":[]}]},"\/code-snippets\/v1\/snippets\/schema":{"namespace":"code-snippets\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/code-snippets\/v1\/snippets\/schema"}]}},"\/code-snippets\/v1\/snippets\/(?P[\\d]+)\/activate":{"namespace":"code-snippets\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}]},"\/code-snippets\/v1\/snippets\/(?P[\\d]+)\/deactivate":{"namespace":"code-snippets\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":[]}]},"\/code-snippets\/v1\/snippets\/(?P[\\d]+)\/export":{"namespace":"code-snippets\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/code-snippets\/v1\/snippets\/(?P[\\d]+)\/export-code":{"namespace":"code-snippets\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}]},"\/cky\/v1":{"namespace":"cky\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"cky\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1"}]}},"\/cky\/v1\/settings":{"namespace":"cky\/v1","methods":["GET","POST"],"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},"paged":{"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},"force":{"type":"boolean","description":"Force fetch data","required":false}}},{"methods":["POST"],"args":{"site":{"description":"Unique identifier for the resource.","type":"object","required":false},"api":{"description":"Language.","type":"object","required":false},"account":{"description":"Language.","type":"object","required":false},"consent_logs":{"description":"Language.","type":"object","required":false},"languages":{"description":"Language.","type":"object","required":false},"onboarding":{"description":"Language.","type":"object","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/settings"}]}},"\/cky\/v1\/settings\/laws":{"namespace":"cky\/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},"paged":{"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},"force":{"type":"boolean","description":"Force fetch data","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/settings\/laws"}]}},"\/cky\/v1\/settings\/info":{"namespace":"cky\/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},"paged":{"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},"force":{"type":"boolean","description":"Force fetch data","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/settings\/info"}]}},"\/cky\/v1\/settings\/disconnect":{"namespace":"cky\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"paged":{"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},"force":{"type":"boolean","description":"Force fetch data","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/settings\/disconnect"}]}},"\/cky\/v1\/settings\/sync":{"namespace":"cky\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"site":{"description":"Unique identifier for the resource.","type":"object","required":false},"api":{"description":"Language.","type":"object","required":false},"account":{"description":"Language.","type":"object","required":false},"consent_logs":{"description":"Language.","type":"object","required":false},"languages":{"description":"Language.","type":"object","required":false},"onboarding":{"description":"Language.","type":"object","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/settings\/sync"}]}},"\/cky\/v1\/settings\/cache\/purge":{"namespace":"cky\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"paged":{"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},"force":{"type":"boolean","description":"Force fetch data","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/settings\/cache\/purge"}]}},"\/cky\/v1\/settings\/notices\/(?P[a-zA-Z0-9-_]+)":{"namespace":"cky\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"paged":{"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},"force":{"type":"boolean","description":"Force fetch data","required":false}}}]},"\/cky\/v1\/settings\/expand":{"namespace":"cky\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"paged":{"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},"force":{"type":"boolean","description":"Force fetch data","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/settings\/expand"}]}},"\/cky\/v1\/settings\/reinstall":{"namespace":"cky\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"view","required":false},"paged":{"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},"force":{"type":"boolean","description":"Force fetch data","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/settings\/reinstall"}]}},"\/cky\/v1\/languages":{"namespace":"cky\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"language":{"description":"Name of the language.","type":"string","required":false},"native_name":{"description":"Native name of the language.","type":"string","required":false},"lang":{"description":"Language code","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/languages"}]}},"\/cky\/v1\/languages\/available":{"namespace":"cky\/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},"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}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/languages\/available"}]}},"\/cky\/v1\/languages\/translations":{"namespace":"cky\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/languages\/translations"}]}},"\/cky\/v1\/dashboard\/summary":{"namespace":"cky\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","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":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/dashboard\/summary"}]}},"\/cky\/v1\/dashboard\/plans":{"namespace":"cky\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","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":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/dashboard\/plans"}]}},"\/cky\/v1\/dashboard\/currencies":{"namespace":"cky\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","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":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/dashboard\/currencies"}]}},"\/cky\/v1\/banners":{"namespace":"cky\/v1","methods":["GET","POST"],"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},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"ver":{"description":"Version","type":"string","required":false},"language":{"description":"Language of the banner","type":"string","required":false}}},{"methods":["POST"],"args":{"name":{"description":"Banner name for reference","type":"string","required":false},"slug":{"description":"Banner unique name","type":"string","required":false},"settings":{"description":"Banner settings.","type":"array","required":false},"contents":{"description":"Banner contents.","type":"object","required":false},"default":{"description":"Indicates whether the banner is default or not","type":"boolean","required":false},"date_modified":{"description":"The date the banner was last modified, as GMT.","type":"date-time","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/banners"}]}},"\/cky\/v1\/banners\/bulk":{"namespace":"cky\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"name":{"description":"Banner name for reference","type":"string","required":false},"slug":{"description":"Banner unique name","type":"string","required":false},"settings":{"description":"Banner settings.","type":"array","required":false},"contents":{"description":"Banner contents.","type":"object","required":false},"default":{"description":"Indicates whether the banner is default or not","type":"boolean","required":false},"date_modified":{"description":"The date the banner was last modified, as GMT.","type":"date-time","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/banners\/bulk"}]}},"\/cky\/v1\/banners\/(?P[\\d]+)":{"namespace":"cky\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"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}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Banner name for reference","type":"string","required":false},"slug":{"description":"Banner unique name","type":"string","required":false},"settings":{"description":"Banner settings.","type":"array","required":false},"contents":{"description":"Banner contents.","type":"object","required":false},"default":{"description":"Indicates whether the banner is default or not","type":"boolean","required":false},"date_modified":{"description":"The date the banner was last modified, as GMT.","type":"date-time","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Banner name for reference","type":"string","required":false},"slug":{"description":"Banner unique name","type":"string","required":false},"settings":{"description":"Banner settings.","type":"array","required":false},"contents":{"description":"Banner contents.","type":"object","required":false},"default":{"description":"Indicates whether the banner is default or not","type":"boolean","required":false},"date_modified":{"description":"The date the banner was last modified, as GMT.","type":"date-time","required":false}}}]},"\/cky\/v1\/banners\/preview":{"namespace":"cky\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"name":{"description":"Banner name for reference","type":"string","required":false},"slug":{"description":"Banner unique name","type":"string","required":false},"settings":{"description":"Banner settings.","type":"array","required":false},"contents":{"description":"Banner contents.","type":"object","required":false},"default":{"description":"Indicates whether the banner is default or not","type":"boolean","required":false},"date_modified":{"description":"The date the banner was last modified, as GMT.","type":"date-time","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/banners\/preview"}]}},"\/cky\/v1\/banners\/presets":{"namespace":"cky\/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},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"ver":{"description":"Version","type":"string","required":false},"language":{"description":"Language of the banner","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/banners\/presets"}]}},"\/cky\/v1\/banners\/configs":{"namespace":"cky\/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},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"ver":{"description":"Version","type":"string","required":false},"language":{"description":"Language of the banner","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/banners\/configs"}]}},"\/cky\/v1\/cookies\/categories":{"namespace":"cky\/v1","methods":["GET","POST"],"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.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"lang":{"description":"Language of the cookie","type":"string","required":false},"category":{"description":"Cookie category","type":"integer","required":false}}},{"methods":["POST"],"args":{"name":{"description":"Cookie category name.","type":"object","required":false},"slug":{"description":"Cookie category unique name","type":"string","required":false},"language":{"description":"Cookie category language","type":"string","required":false},"description":{"description":"Cookie category description.","type":"object","required":false},"prior_consent":{"description":"Cookie type.","type":"boolean","required":false},"priority":{"description":"Cookie type.","type":"integer","required":false},"visibility":{"description":"Show cookies on audit table or not","type":"boolean","required":false},"sell_personal_data":{"description":"Show cookies on audit table or not","type":"boolean","required":false},"cookies":{"description":"Cookie category description.","type":"object","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/cookies\/categories"}]}},"\/cky\/v1\/cookies\/categories\/bulk":{"namespace":"cky\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"name":{"description":"Cookie category name.","type":"object","required":false},"slug":{"description":"Cookie category unique name","type":"string","required":false},"language":{"description":"Cookie category language","type":"string","required":false},"description":{"description":"Cookie category description.","type":"object","required":false},"prior_consent":{"description":"Cookie type.","type":"boolean","required":false},"priority":{"description":"Cookie type.","type":"integer","required":false},"visibility":{"description":"Show cookies on audit table or not","type":"boolean","required":false},"sell_personal_data":{"description":"Show cookies on audit table or not","type":"boolean","required":false},"cookies":{"description":"Cookie category description.","type":"object","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/cookies\/categories\/bulk"}]}},"\/cky\/v1\/cookies\/categories\/(?P[\\d]+)":{"namespace":"cky\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"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}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"name":{"description":"Cookie category name.","type":"object","required":false},"slug":{"description":"Cookie category unique name","type":"string","required":false},"language":{"description":"Cookie category language","type":"string","required":false},"description":{"description":"Cookie category description.","type":"object","required":false},"prior_consent":{"description":"Cookie type.","type":"boolean","required":false},"priority":{"description":"Cookie type.","type":"integer","required":false},"visibility":{"description":"Show cookies on audit table or not","type":"boolean","required":false},"sell_personal_data":{"description":"Show cookies on audit table or not","type":"boolean","required":false},"cookies":{"description":"Cookie category description.","type":"object","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false}}}]},"\/cky\/v1\/cookies":{"namespace":"cky\/v1","methods":["GET","POST"],"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.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"lang":{"description":"Language of the cookie","type":"string","required":false},"category":{"description":"Cookie category","type":"integer","required":false}}},{"methods":["POST"],"args":{"date_modified":{"description":"The date the cookie was last modified, as GMT.","type":"string","required":false},"name":{"description":"Cookie name.","type":"string","required":false},"category":{"description":"Cookie category name.","type":"integer","required":false},"slug":{"description":"Cookie unique name","type":"string","required":false},"description":{"description":"Cookie description.","type":"object","required":false},"duration":{"description":"Cookie duration","type":"object","required":false},"language":{"description":"Cookie language.","type":"string","required":false},"type":{"description":"Cookie type.","type":"integer","required":false},"domain":{"description":"Cookie domain.","type":"string","required":false},"discovered":{"description":"If cookies added from the scanner or not.","type":"boolean","required":false},"url_pattern":{"description":"URL patterns for blocking purposes","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/cookies"}]}},"\/cky\/v1\/cookies\/(?P[\\d]+)":{"namespace":"cky\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"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}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false},"date_modified":{"description":"The date the cookie was last modified, as GMT.","type":"string","required":false},"name":{"description":"Cookie name.","type":"string","required":false},"category":{"description":"Cookie category name.","type":"integer","required":false},"slug":{"description":"Cookie unique name","type":"string","required":false},"description":{"description":"Cookie description.","type":"object","required":false},"duration":{"description":"Cookie duration","type":"object","required":false},"language":{"description":"Cookie language.","type":"string","required":false},"type":{"description":"Cookie type.","type":"integer","required":false},"domain":{"description":"Cookie domain.","type":"string","required":false},"discovered":{"description":"If cookies added from the scanner or not.","type":"boolean","required":false},"url_pattern":{"description":"URL patterns for blocking purposes","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"Unique identifier for the resource.","type":"integer","required":false}}}]},"\/cky\/v1\/consent_logs\/statistics":{"namespace":"cky\/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},"paged":{"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}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/consent_logs\/statistics"}]}},"\/cky\/v1\/scans":{"namespace":"cky\/v1","methods":["GET","POST"],"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},"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}}},{"methods":["POST"],"args":{"name":{"description":"Cookie category name.","type":"string","required":false},"slug":{"description":"Cookie category unique name","type":"string","required":false},"description":{"description":"Cookie category description.","type":"string","required":false},"default_state":{"description":"Cookie type.","type":"string","required":false},"head_scripts":{"description":"Cookie scripts.","type":"string","required":false},"body_scripts":{"description":"Cookie scripts.","type":"string","required":false},"cookies":{"description":"Cookie count.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/scans"}]}},"\/cky\/v1\/scans\/(?P[\\d]+)":{"namespace":"cky\/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}}}]},"\/cky\/v1\/scans\/details\/(?P[\\d]+)":{"namespace":"cky\/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}}}]},"\/cky\/v1\/uninstall-feedback":{"namespace":"cky\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/uninstall-feedback"}]}},"\/cky\/v1\/pageviews\/chart":{"namespace":"cky\/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},"paged":{"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}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/cky\/v1\/pageviews\/chart"}]}},"\/ninja-forms-submissions":{"namespace":"ninja-forms-submissions","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"ninja-forms-submissions","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ninja-forms-submissions"}]}},"\/ninja-forms-submissions\/submissions\/get":{"namespace":"ninja-forms-submissions","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"form_ids":{"description":"Form IDs","type":"array","required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ninja-forms-submissions\/submissions\/get"}]}},"\/ninja-forms-submissions\/submissions\/delete":{"namespace":"ninja-forms-submissions","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"submissions":{"description":"Submissions","type":"array","required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ninja-forms-submissions\/submissions\/delete"}]}},"\/ninja-forms-submissions\/submissions\/update":{"namespace":"ninja-forms-submissions","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"singleSubmission":{"description":"Update single Submission","type":"JSON encoded array","required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ninja-forms-submissions\/submissions\/update"}]}},"\/ninja-forms-submissions\/submissions\/restore":{"namespace":"ninja-forms-submissions","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"restore":{"description":"Update Submission","type":"boolean","required":true},"submissions":{"description":"Array of Submissions","type":"array","required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ninja-forms-submissions\/submissions\/restore"}]}},"\/ninja-forms-submissions\/submissions\/handle-extra":{"namespace":"ninja-forms-submissions","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"singleSubmission":{"description":"Update Submission","type":"JSON encoded array","required":true},"handleExtra":{"description":"Extra Handler of Submission","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ninja-forms-submissions\/submissions\/handle-extra"}]}},"\/ninja-forms-submissions\/export":{"namespace":"ninja-forms-submissions","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"form_ids":{"description":"Array of Form IDs we want to get the submissions from.","type":"array","required":false},"start_date":{"description":"strtotime($date) that represents the start date we will retrieve submssions at.","type":"string","required":false},"end_date":{"description":"strtotime($date) that represents the end date we will retrieve submssions at.","type":"string","required":false},"singleSubmission":{"description":"Export single submission if a JSON encoded submission is passed","type":"JSON encoded array","required":false},"submissions":{"description":"Export submissions based on array of submissions IDs","type":"array","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ninja-forms-submissions\/export"}]}},"\/ninja-forms-submissions\/download-all":{"namespace":"ninja-forms-submissions","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"form_ids":{"description":"Array of Form IDs we want to get the submissions from.","type":"array","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ninja-forms-submissions\/download-all"}]}},"\/ninja-forms-submissions\/delete-download-file":{"namespace":"ninja-forms-submissions","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"file_path":{"description":"File path of the file to delete","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ninja-forms-submissions\/delete-download-file"}]}},"\/ninja-forms-submissions\/set-submissions-settings":{"namespace":"ninja-forms-submissions","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"settingName":{"description":"Setting name in the submissionsSettings array","type":"string","required":true},"data":{"description":"Settings data","type":"object","required":false},"formID":{"description":"Form ID of the setting saved","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ninja-forms-submissions\/set-submissions-settings"}]}},"\/ninja-forms-submissions\/get-submissions-settings":{"namespace":"ninja-forms-submissions","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ninja-forms-submissions\/get-submissions-settings"}]}},"\/ninja-forms-submissions\/email-action":{"namespace":"ninja-forms-submissions","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"submission":{"description":"Submission ID","type":"int","required":true},"action_settings":{"description":"Email Action Settings","type":"object","required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ninja-forms-submissions\/email-action"}]}},"\/ninja-forms-views":{"namespace":"ninja-forms-views","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"ninja-forms-views","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ninja-forms-views"}]}},"\/ninja-forms-views\/forms":{"namespace":"ninja-forms-views","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ninja-forms-views\/forms"}]}},"\/ninja-forms-views\/forms\/(?P\\d+)\/fields":{"namespace":"ninja-forms-views","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the object.","type":"integer","required":true}}}]},"\/ninja-forms-views\/forms\/(?P\\d+)\/submissions":{"namespace":"ninja-forms-views","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the object.","type":"integer","required":true},"perPage":{"description":"Maximum number of items to be returned in result set.","type":"integer","minimum":1,"maximum":100,"required":false},"page":{"description":"Current page of the collection.","type":"integer","default":1,"minimum":1,"required":false}}}]},"\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/wp-json\/yoast\/v1\/file_size"}]}},"\/yoast\/v1\/statistics":{"namespace":"yoast\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/wp-json\/yoast\/v1\/get_head"}]}},"\/yoast\/v1\/indexing\/posts":{"namespace":"yoast\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/yoast\/v1\/indexing\/posts"}]}},"\/yoast\/v1\/indexing\/terms":{"namespace":"yoast\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/wp-json\/yoast\/v1\/indexing\/general"}]}},"\/yoast\/v1\/indexing\/prepare":{"namespace":"yoast\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/yoast\/v1\/indexing\/prepare"}]}},"\/yoast\/v1\/indexing\/indexables-complete":{"namespace":"yoast\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/yoast\/v1\/indexing\/indexables-complete"}]}},"\/yoast\/v1\/indexing\/complete":{"namespace":"yoast\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/yoast\/v1\/indexing\/complete"}]}},"\/yoast\/v1\/link-indexing\/posts":{"namespace":"yoast\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/wp-json\/yoast\/v1\/integrations\/set_active"}]}},"\/yoast\/v1\/meta\/search":{"namespace":"yoast\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/wp-json\/yoast\/v1\/wincher\/keyphrases"}]}},"\/yoast\/v1\/wincher\/keyphrases\/untrack":{"namespace":"yoast\/v1","methods":["DELETE"],"endpoints":[{"methods":["DELETE"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/wp-json\/yoast\/v1\/wincher\/account\/upgrade-campaign"}]}},"\/yoast\/v1\/workouts":{"namespace":"yoast\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/yoast\/v1\/workouts"}]}},"\/getpaid\/v1":{"namespace":"getpaid\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"getpaid\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/getpaid\/v1"}]}},"\/getpaid\/v1\/invoices":{"namespace":"getpaid\/v1","methods":["GET","POST"],"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.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"status":{"default":["wpi-pending","publish","wpi-processing","wpi-onhold","wpi-cancelled","wpi-refunded","wpi-failed","wpi-renewal","draft"],"description":"Limit result set to resources assigned one or more statuses.","type":["array","string"],"items":{"enum":["wpi-pending","publish","wpi-processing","wpi-onhold","wpi-cancelled","wpi-refunded","wpi-failed","wpi-renewal","draft"],"type":"string"},"required":false},"after":{"description":"Limit response to resources created after a given ISO8601 compliant date.","type":"string","format":"string","required":false},"before":{"description":"Limit response to resources created before a given ISO8601 compliant date.","type":"string","format":"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":{"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},"customers":{"description":"Limit result set to invoices for specific user IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"exclude_customers":{"description":"Exclude invoices to specific users.","type":"array","items":{"type":"integer"},"default":[],"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}}},{"methods":["POST"],"args":{"parent_id":{"default":0,"description":"Parent invoice ID.","type":"integer","minimum":0,"required":false},"number":{"description":"A unique number for the invoice.","type":"string","required":false},"template":{"default":"quantity","description":"The invoice template.","type":"string","enum":["quantity","hours","amount"],"required":false},"status":{"default":"wpi-pending","description":"Invoice status.","type":"string","enum":["wpi-pending","publish","wpi-processing","wpi-onhold","wpi-cancelled","wpi-refunded","wpi-failed","wpi-renewal","draft"],"required":false},"currency":{"default":"GBP","description":"The invoice currency in ISO format.","type":"string","enum":["USD","EUR","GBP","AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","FJD","FKP","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","MRO","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","STD","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"date_created":{"description":"The date the invoice was created, in the site's time zone.","type":"string","required":false},"due_date":{"description":"The invoice's due date, in the site's time zone.","type":"string","required":false},"fees":{"description":"Invoice fees (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time fee.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"discounts":{"description":"Invoice discounts (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time discount.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"taxes":{"description":"Invoice taxes (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time tax.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"items":{"description":"Invoice items.","type":"array","items":{"type":"object","required":["item_id"],"properties":{"item_id":{"description":"Item ID.","type":"integer","context":["view","edit","embed"]},"item_name":{"description":"Item Name.","type":"string","context":["view","edit","embed"]},"item_description":{"description":"Item Description.","type":"string","context":["view","edit","embed"]},"item_price":{"description":"Item Price.","type":"number","context":["view","edit","embed"]},"quantity":{"description":"Item Quantity.","type":"number","context":["view","edit","embed"]},"subtotal":{"description":"Item Subtotal.","type":"number","context":["view","edit","embed"],"readonly":true},"meta":{"description":"Item Meta.","type":"object","context":["view","edit","embed"]}}},"required":false},"discount_code":{"description":"The discount code used on this invoice.","type":"string","required":false},"gateway":{"description":"The gateway used to pay this invoice.","type":"string","required":false},"transaction_id":{"description":"The transaction ID for this invoice.","type":"string","required":false},"disable_taxes":{"description":"Whether or not taxes should be disabled for this invoice.","type":"boolean ","required":false},"email_cc":{"description":"A comma separated list of other emails that should receive communications for this invoice.","type":"string ","required":false},"description":{"description":"The invoice description.","type":"string","required":false},"customer_id":{"description":"The customer ID.","type":"integer","required":false},"customer_ip":{"description":"The customer's IP address.","type":"string","format":"ip","required":false},"first_name":{"description":"The customer's first name.","type":"string","required":false},"last_name":{"description":"The customer's last name.","type":"string","required":false},"phone_number":{"description":"The customer's phone number.","type":"string","required":false},"customer_country":{"default":"GB","description":"The customer's country.","type":"string","required":false},"customer_state":{"description":"The customer's county.","type":"string","required":false},"customer_city":{"description":"The customer's city.","type":"string","required":false},"customer_zip":{"description":"The customer's postcode.","type":"string","required":false},"customer_company":{"description":"The customer's company name.","type":"string","required":false},"vat_number":{"description":"The customer's VAT number.","type":"string","required":false},"customer_address":{"description":"The customer's address.","type":"string","required":false},"address_confirmed":{"description":"Whether or not the customer's address is confirmed.","type":"boolean","required":false},"meta_data":{"description":"Invoice metadata.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"string","context":["view","edit","embed"]},"key":{"description":"Meta key.","type":"string","context":["view","edit","embed"]},"value":{"description":"Meta Value.","type":["string","array","object","integer","null"],"context":["view","edit","embed"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/getpaid\/v1\/invoices"}]}},"\/getpaid\/v1\/invoices\/(?P[\\d]+)":{"namespace":"getpaid\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the object.","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}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the object.","type":"integer","required":false},"parent_id":{"description":"Parent invoice ID.","type":"integer","minimum":0,"required":false},"number":{"description":"A unique number for the invoice.","type":"string","required":false},"template":{"description":"The invoice template.","type":"string","enum":["quantity","hours","amount"],"required":false},"status":{"description":"Invoice status.","type":"string","enum":["wpi-pending","publish","wpi-processing","wpi-onhold","wpi-cancelled","wpi-refunded","wpi-failed","wpi-renewal","draft"],"required":false},"currency":{"description":"The invoice currency in ISO format.","type":"string","enum":["USD","EUR","GBP","AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","FJD","FKP","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","MRO","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","STD","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"date_created":{"description":"The date the invoice was created, in the site's time zone.","type":"string","required":false},"due_date":{"description":"The invoice's due date, in the site's time zone.","type":"string","required":false},"fees":{"description":"Invoice fees (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time fee.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"discounts":{"description":"Invoice discounts (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time discount.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"taxes":{"description":"Invoice taxes (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time tax.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"items":{"description":"Invoice items.","type":"array","items":{"type":"object","required":["item_id"],"properties":{"item_id":{"description":"Item ID.","type":"integer","context":["view","edit","embed"]},"item_name":{"description":"Item Name.","type":"string","context":["view","edit","embed"]},"item_description":{"description":"Item Description.","type":"string","context":["view","edit","embed"]},"item_price":{"description":"Item Price.","type":"number","context":["view","edit","embed"]},"quantity":{"description":"Item Quantity.","type":"number","context":["view","edit","embed"]},"subtotal":{"description":"Item Subtotal.","type":"number","context":["view","edit","embed"],"readonly":true},"meta":{"description":"Item Meta.","type":"object","context":["view","edit","embed"]}}},"required":false},"discount_code":{"description":"The discount code used on this invoice.","type":"string","required":false},"gateway":{"description":"The gateway used to pay this invoice.","type":"string","required":false},"transaction_id":{"description":"The transaction ID for this invoice.","type":"string","required":false},"disable_taxes":{"description":"Whether or not taxes should be disabled for this invoice.","type":"boolean ","required":false},"email_cc":{"description":"A comma separated list of other emails that should receive communications for this invoice.","type":"string ","required":false},"description":{"description":"The invoice description.","type":"string","required":false},"customer_id":{"description":"The customer ID.","type":"integer","required":false},"customer_ip":{"description":"The customer's IP address.","type":"string","format":"ip","required":false},"first_name":{"description":"The customer's first name.","type":"string","required":false},"last_name":{"description":"The customer's last name.","type":"string","required":false},"phone_number":{"description":"The customer's phone number.","type":"string","required":false},"customer_country":{"description":"The customer's country.","type":"string","required":false},"customer_state":{"description":"The customer's county.","type":"string","required":false},"customer_city":{"description":"The customer's city.","type":"string","required":false},"customer_zip":{"description":"The customer's postcode.","type":"string","required":false},"customer_company":{"description":"The customer's company name.","type":"string","required":false},"vat_number":{"description":"The customer's VAT number.","type":"string","required":false},"customer_address":{"description":"The customer's address.","type":"string","required":false},"address_confirmed":{"description":"Whether or not the customer's address is confirmed.","type":"boolean","required":false},"meta_data":{"description":"Invoice metadata.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"string","context":["view","edit","embed"]},"key":{"description":"Meta key.","type":"string","context":["view","edit","embed"]},"value":{"description":"Meta Value.","type":["string","array","object","integer","null"],"context":["view","edit","embed"]}}},"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 the bin and force deletion.","required":false}}}]},"\/getpaid\/v1\/invoices\/batch":{"namespace":"getpaid\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"description":"Parent invoice ID.","type":"integer","minimum":0,"required":false},"number":{"description":"A unique number for the invoice.","type":"string","required":false},"template":{"description":"The invoice template.","type":"string","enum":["quantity","hours","amount"],"required":false},"status":{"description":"Invoice status.","type":"string","enum":["wpi-pending","publish","wpi-processing","wpi-onhold","wpi-cancelled","wpi-refunded","wpi-failed","wpi-renewal","draft"],"required":false},"currency":{"description":"The invoice currency in ISO format.","type":"string","enum":["USD","EUR","GBP","AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","FJD","FKP","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","MRO","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","STD","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"date_created":{"description":"The date the invoice was created, in the site's time zone.","type":"string","required":false},"due_date":{"description":"The invoice's due date, in the site's time zone.","type":"string","required":false},"fees":{"description":"Invoice fees (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time fee.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"discounts":{"description":"Invoice discounts (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time discount.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"taxes":{"description":"Invoice taxes (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time tax.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"items":{"description":"Invoice items.","type":"array","items":{"type":"object","required":["item_id"],"properties":{"item_id":{"description":"Item ID.","type":"integer","context":["view","edit","embed"]},"item_name":{"description":"Item Name.","type":"string","context":["view","edit","embed"]},"item_description":{"description":"Item Description.","type":"string","context":["view","edit","embed"]},"item_price":{"description":"Item Price.","type":"number","context":["view","edit","embed"]},"quantity":{"description":"Item Quantity.","type":"number","context":["view","edit","embed"]},"subtotal":{"description":"Item Subtotal.","type":"number","context":["view","edit","embed"],"readonly":true},"meta":{"description":"Item Meta.","type":"object","context":["view","edit","embed"]}}},"required":false},"discount_code":{"description":"The discount code used on this invoice.","type":"string","required":false},"gateway":{"description":"The gateway used to pay this invoice.","type":"string","required":false},"transaction_id":{"description":"The transaction ID for this invoice.","type":"string","required":false},"disable_taxes":{"description":"Whether or not taxes should be disabled for this invoice.","type":"boolean ","required":false},"email_cc":{"description":"A comma separated list of other emails that should receive communications for this invoice.","type":"string ","required":false},"description":{"description":"The invoice description.","type":"string","required":false},"customer_id":{"description":"The customer ID.","type":"integer","required":false},"customer_ip":{"description":"The customer's IP address.","type":"string","format":"ip","required":false},"first_name":{"description":"The customer's first name.","type":"string","required":false},"last_name":{"description":"The customer's last name.","type":"string","required":false},"phone_number":{"description":"The customer's phone number.","type":"string","required":false},"customer_country":{"description":"The customer's country.","type":"string","required":false},"customer_state":{"description":"The customer's county.","type":"string","required":false},"customer_city":{"description":"The customer's city.","type":"string","required":false},"customer_zip":{"description":"The customer's postcode.","type":"string","required":false},"customer_company":{"description":"The customer's company name.","type":"string","required":false},"vat_number":{"description":"The customer's VAT number.","type":"string","required":false},"customer_address":{"description":"The customer's address.","type":"string","required":false},"address_confirmed":{"description":"Whether or not the customer's address is confirmed.","type":"boolean","required":false},"meta_data":{"description":"Invoice metadata.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"string","context":["view","edit","embed"]},"key":{"description":"Meta key.","type":"string","context":["view","edit","embed"]},"value":{"description":"Meta Value.","type":["string","array","object","integer","null"],"context":["view","edit","embed"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/getpaid\/v1\/invoices\/batch"}]}},"\/invoicing\/v1":{"namespace":"invoicing\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"invoicing\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/invoicing\/v1"}]}},"\/invoicing\/v1\/invoices":{"namespace":"invoicing\/v1","methods":["GET","POST"],"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.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"status":{"default":["wpi-pending","publish","wpi-processing","wpi-onhold","wpi-cancelled","wpi-refunded","wpi-failed","wpi-renewal","draft"],"description":"Limit result set to resources assigned one or more statuses.","type":["array","string"],"items":{"enum":["wpi-pending","publish","wpi-processing","wpi-onhold","wpi-cancelled","wpi-refunded","wpi-failed","wpi-renewal","draft"],"type":"string"},"required":false},"after":{"description":"Limit response to resources created after a given ISO8601 compliant date.","type":"string","format":"string","required":false},"before":{"description":"Limit response to resources created before a given ISO8601 compliant date.","type":"string","format":"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":{"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},"customers":{"description":"Limit result set to invoices for specific user IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"exclude_customers":{"description":"Exclude invoices to specific users.","type":"array","items":{"type":"integer"},"default":[],"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}}},{"methods":["POST"],"args":{"parent_id":{"default":0,"description":"Parent invoice ID.","type":"integer","minimum":0,"required":false},"number":{"description":"A unique number for the invoice.","type":"string","required":false},"template":{"default":"quantity","description":"The invoice template.","type":"string","enum":["quantity","hours","amount"],"required":false},"status":{"default":"wpi-pending","description":"Invoice status.","type":"string","enum":["wpi-pending","publish","wpi-processing","wpi-onhold","wpi-cancelled","wpi-refunded","wpi-failed","wpi-renewal","draft"],"required":false},"currency":{"default":"GBP","description":"The invoice currency in ISO format.","type":"string","enum":["USD","EUR","GBP","AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","FJD","FKP","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","MRO","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","STD","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"date_created":{"description":"The date the invoice was created, in the site's time zone.","type":"string","required":false},"due_date":{"description":"The invoice's due date, in the site's time zone.","type":"string","required":false},"fees":{"description":"Invoice fees (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time fee.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"discounts":{"description":"Invoice discounts (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time discount.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"taxes":{"description":"Invoice taxes (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time tax.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"items":{"description":"Invoice items.","type":"array","items":{"type":"object","required":["item_id"],"properties":{"item_id":{"description":"Item ID.","type":"integer","context":["view","edit","embed"]},"item_name":{"description":"Item Name.","type":"string","context":["view","edit","embed"]},"item_description":{"description":"Item Description.","type":"string","context":["view","edit","embed"]},"item_price":{"description":"Item Price.","type":"number","context":["view","edit","embed"]},"quantity":{"description":"Item Quantity.","type":"number","context":["view","edit","embed"]},"subtotal":{"description":"Item Subtotal.","type":"number","context":["view","edit","embed"],"readonly":true},"meta":{"description":"Item Meta.","type":"object","context":["view","edit","embed"]}}},"required":false},"discount_code":{"description":"The discount code used on this invoice.","type":"string","required":false},"gateway":{"description":"The gateway used to pay this invoice.","type":"string","required":false},"transaction_id":{"description":"The transaction ID for this invoice.","type":"string","required":false},"disable_taxes":{"description":"Whether or not taxes should be disabled for this invoice.","type":"boolean ","required":false},"email_cc":{"description":"A comma separated list of other emails that should receive communications for this invoice.","type":"string ","required":false},"description":{"description":"The invoice description.","type":"string","required":false},"customer_id":{"description":"The customer ID.","type":"integer","required":false},"customer_ip":{"description":"The customer's IP address.","type":"string","format":"ip","required":false},"first_name":{"description":"The customer's first name.","type":"string","required":false},"last_name":{"description":"The customer's last name.","type":"string","required":false},"phone_number":{"description":"The customer's phone number.","type":"string","required":false},"customer_country":{"default":"GB","description":"The customer's country.","type":"string","required":false},"customer_state":{"description":"The customer's county.","type":"string","required":false},"customer_city":{"description":"The customer's city.","type":"string","required":false},"customer_zip":{"description":"The customer's postcode.","type":"string","required":false},"customer_company":{"description":"The customer's company name.","type":"string","required":false},"vat_number":{"description":"The customer's VAT number.","type":"string","required":false},"customer_address":{"description":"The customer's address.","type":"string","required":false},"address_confirmed":{"description":"Whether or not the customer's address is confirmed.","type":"boolean","required":false},"meta_data":{"description":"Invoice metadata.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"string","context":["view","edit","embed"]},"key":{"description":"Meta key.","type":"string","context":["view","edit","embed"]},"value":{"description":"Meta Value.","type":["string","array","object","integer","null"],"context":["view","edit","embed"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/invoicing\/v1\/invoices"}]}},"\/invoicing\/v1\/invoices\/(?P[\\d]+)":{"namespace":"invoicing\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the object.","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}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the object.","type":"integer","required":false},"parent_id":{"description":"Parent invoice ID.","type":"integer","minimum":0,"required":false},"number":{"description":"A unique number for the invoice.","type":"string","required":false},"template":{"description":"The invoice template.","type":"string","enum":["quantity","hours","amount"],"required":false},"status":{"description":"Invoice status.","type":"string","enum":["wpi-pending","publish","wpi-processing","wpi-onhold","wpi-cancelled","wpi-refunded","wpi-failed","wpi-renewal","draft"],"required":false},"currency":{"description":"The invoice currency in ISO format.","type":"string","enum":["USD","EUR","GBP","AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","FJD","FKP","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","MRO","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","STD","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"date_created":{"description":"The date the invoice was created, in the site's time zone.","type":"string","required":false},"due_date":{"description":"The invoice's due date, in the site's time zone.","type":"string","required":false},"fees":{"description":"Invoice fees (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time fee.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"discounts":{"description":"Invoice discounts (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time discount.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"taxes":{"description":"Invoice taxes (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time tax.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"items":{"description":"Invoice items.","type":"array","items":{"type":"object","required":["item_id"],"properties":{"item_id":{"description":"Item ID.","type":"integer","context":["view","edit","embed"]},"item_name":{"description":"Item Name.","type":"string","context":["view","edit","embed"]},"item_description":{"description":"Item Description.","type":"string","context":["view","edit","embed"]},"item_price":{"description":"Item Price.","type":"number","context":["view","edit","embed"]},"quantity":{"description":"Item Quantity.","type":"number","context":["view","edit","embed"]},"subtotal":{"description":"Item Subtotal.","type":"number","context":["view","edit","embed"],"readonly":true},"meta":{"description":"Item Meta.","type":"object","context":["view","edit","embed"]}}},"required":false},"discount_code":{"description":"The discount code used on this invoice.","type":"string","required":false},"gateway":{"description":"The gateway used to pay this invoice.","type":"string","required":false},"transaction_id":{"description":"The transaction ID for this invoice.","type":"string","required":false},"disable_taxes":{"description":"Whether or not taxes should be disabled for this invoice.","type":"boolean ","required":false},"email_cc":{"description":"A comma separated list of other emails that should receive communications for this invoice.","type":"string ","required":false},"description":{"description":"The invoice description.","type":"string","required":false},"customer_id":{"description":"The customer ID.","type":"integer","required":false},"customer_ip":{"description":"The customer's IP address.","type":"string","format":"ip","required":false},"first_name":{"description":"The customer's first name.","type":"string","required":false},"last_name":{"description":"The customer's last name.","type":"string","required":false},"phone_number":{"description":"The customer's phone number.","type":"string","required":false},"customer_country":{"description":"The customer's country.","type":"string","required":false},"customer_state":{"description":"The customer's county.","type":"string","required":false},"customer_city":{"description":"The customer's city.","type":"string","required":false},"customer_zip":{"description":"The customer's postcode.","type":"string","required":false},"customer_company":{"description":"The customer's company name.","type":"string","required":false},"vat_number":{"description":"The customer's VAT number.","type":"string","required":false},"customer_address":{"description":"The customer's address.","type":"string","required":false},"address_confirmed":{"description":"Whether or not the customer's address is confirmed.","type":"boolean","required":false},"meta_data":{"description":"Invoice metadata.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"string","context":["view","edit","embed"]},"key":{"description":"Meta key.","type":"string","context":["view","edit","embed"]},"value":{"description":"Meta Value.","type":["string","array","object","integer","null"],"context":["view","edit","embed"]}}},"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 the bin and force deletion.","required":false}}}]},"\/invoicing\/v1\/invoices\/batch":{"namespace":"invoicing\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"description":"Parent invoice ID.","type":"integer","minimum":0,"required":false},"number":{"description":"A unique number for the invoice.","type":"string","required":false},"template":{"description":"The invoice template.","type":"string","enum":["quantity","hours","amount"],"required":false},"status":{"description":"Invoice status.","type":"string","enum":["wpi-pending","publish","wpi-processing","wpi-onhold","wpi-cancelled","wpi-refunded","wpi-failed","wpi-renewal","draft"],"required":false},"currency":{"description":"The invoice currency in ISO format.","type":"string","enum":["USD","EUR","GBP","AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","FJD","FKP","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","MRO","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","STD","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"date_created":{"description":"The date the invoice was created, in the site's time zone.","type":"string","required":false},"due_date":{"description":"The invoice's due date, in the site's time zone.","type":"string","required":false},"fees":{"description":"Invoice fees (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time fee.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"discounts":{"description":"Invoice discounts (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time discount.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"taxes":{"description":"Invoice taxes (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time tax.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"items":{"description":"Invoice items.","type":"array","items":{"type":"object","required":["item_id"],"properties":{"item_id":{"description":"Item ID.","type":"integer","context":["view","edit","embed"]},"item_name":{"description":"Item Name.","type":"string","context":["view","edit","embed"]},"item_description":{"description":"Item Description.","type":"string","context":["view","edit","embed"]},"item_price":{"description":"Item Price.","type":"number","context":["view","edit","embed"]},"quantity":{"description":"Item Quantity.","type":"number","context":["view","edit","embed"]},"subtotal":{"description":"Item Subtotal.","type":"number","context":["view","edit","embed"],"readonly":true},"meta":{"description":"Item Meta.","type":"object","context":["view","edit","embed"]}}},"required":false},"discount_code":{"description":"The discount code used on this invoice.","type":"string","required":false},"gateway":{"description":"The gateway used to pay this invoice.","type":"string","required":false},"transaction_id":{"description":"The transaction ID for this invoice.","type":"string","required":false},"disable_taxes":{"description":"Whether or not taxes should be disabled for this invoice.","type":"boolean ","required":false},"email_cc":{"description":"A comma separated list of other emails that should receive communications for this invoice.","type":"string ","required":false},"description":{"description":"The invoice description.","type":"string","required":false},"customer_id":{"description":"The customer ID.","type":"integer","required":false},"customer_ip":{"description":"The customer's IP address.","type":"string","format":"ip","required":false},"first_name":{"description":"The customer's first name.","type":"string","required":false},"last_name":{"description":"The customer's last name.","type":"string","required":false},"phone_number":{"description":"The customer's phone number.","type":"string","required":false},"customer_country":{"description":"The customer's country.","type":"string","required":false},"customer_state":{"description":"The customer's county.","type":"string","required":false},"customer_city":{"description":"The customer's city.","type":"string","required":false},"customer_zip":{"description":"The customer's postcode.","type":"string","required":false},"customer_company":{"description":"The customer's company name.","type":"string","required":false},"vat_number":{"description":"The customer's VAT number.","type":"string","required":false},"customer_address":{"description":"The customer's address.","type":"string","required":false},"address_confirmed":{"description":"Whether or not the customer's address is confirmed.","type":"boolean","required":false},"meta_data":{"description":"Invoice metadata.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"string","context":["view","edit","embed"]},"key":{"description":"Meta key.","type":"string","context":["view","edit","embed"]},"value":{"description":"Meta Value.","type":["string","array","object","integer","null"],"context":["view","edit","embed"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/invoicing\/v1\/invoices\/batch"}]}},"\/wpi\/v1":{"namespace":"wpi\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"wpi\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/wpi\/v1"}]}},"\/wpi\/v1\/invoices":{"namespace":"wpi\/v1","methods":["GET","POST"],"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.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"status":{"default":["wpi-pending","publish","wpi-processing","wpi-onhold","wpi-cancelled","wpi-refunded","wpi-failed","wpi-renewal","draft"],"description":"Limit result set to resources assigned one or more statuses.","type":["array","string"],"items":{"enum":["wpi-pending","publish","wpi-processing","wpi-onhold","wpi-cancelled","wpi-refunded","wpi-failed","wpi-renewal","draft"],"type":"string"},"required":false},"after":{"description":"Limit response to resources created after a given ISO8601 compliant date.","type":"string","format":"string","required":false},"before":{"description":"Limit response to resources created before a given ISO8601 compliant date.","type":"string","format":"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":{"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},"customers":{"description":"Limit result set to invoices for specific user IDs.","type":"array","items":{"type":"integer"},"default":[],"required":false},"exclude_customers":{"description":"Exclude invoices to specific users.","type":"array","items":{"type":"integer"},"default":[],"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}}},{"methods":["POST"],"args":{"parent_id":{"default":0,"description":"Parent invoice ID.","type":"integer","minimum":0,"required":false},"number":{"description":"A unique number for the invoice.","type":"string","required":false},"template":{"default":"quantity","description":"The invoice template.","type":"string","enum":["quantity","hours","amount"],"required":false},"status":{"default":"wpi-pending","description":"Invoice status.","type":"string","enum":["wpi-pending","publish","wpi-processing","wpi-onhold","wpi-cancelled","wpi-refunded","wpi-failed","wpi-renewal","draft"],"required":false},"currency":{"default":"GBP","description":"The invoice currency in ISO format.","type":"string","enum":["USD","EUR","GBP","AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","FJD","FKP","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","MRO","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","STD","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"date_created":{"description":"The date the invoice was created, in the site's time zone.","type":"string","required":false},"due_date":{"description":"The invoice's due date, in the site's time zone.","type":"string","required":false},"fees":{"description":"Invoice fees (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time fee.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"discounts":{"description":"Invoice discounts (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time discount.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"taxes":{"description":"Invoice taxes (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time tax.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"items":{"description":"Invoice items.","type":"array","items":{"type":"object","required":["item_id"],"properties":{"item_id":{"description":"Item ID.","type":"integer","context":["view","edit","embed"]},"item_name":{"description":"Item Name.","type":"string","context":["view","edit","embed"]},"item_description":{"description":"Item Description.","type":"string","context":["view","edit","embed"]},"item_price":{"description":"Item Price.","type":"number","context":["view","edit","embed"]},"quantity":{"description":"Item Quantity.","type":"number","context":["view","edit","embed"]},"subtotal":{"description":"Item Subtotal.","type":"number","context":["view","edit","embed"],"readonly":true},"meta":{"description":"Item Meta.","type":"object","context":["view","edit","embed"]}}},"required":false},"discount_code":{"description":"The discount code used on this invoice.","type":"string","required":false},"gateway":{"description":"The gateway used to pay this invoice.","type":"string","required":false},"transaction_id":{"description":"The transaction ID for this invoice.","type":"string","required":false},"disable_taxes":{"description":"Whether or not taxes should be disabled for this invoice.","type":"boolean ","required":false},"email_cc":{"description":"A comma separated list of other emails that should receive communications for this invoice.","type":"string ","required":false},"description":{"description":"The invoice description.","type":"string","required":false},"customer_id":{"description":"The customer ID.","type":"integer","required":false},"customer_ip":{"description":"The customer's IP address.","type":"string","format":"ip","required":false},"first_name":{"description":"The customer's first name.","type":"string","required":false},"last_name":{"description":"The customer's last name.","type":"string","required":false},"phone_number":{"description":"The customer's phone number.","type":"string","required":false},"customer_country":{"default":"GB","description":"The customer's country.","type":"string","required":false},"customer_state":{"description":"The customer's county.","type":"string","required":false},"customer_city":{"description":"The customer's city.","type":"string","required":false},"customer_zip":{"description":"The customer's postcode.","type":"string","required":false},"customer_company":{"description":"The customer's company name.","type":"string","required":false},"vat_number":{"description":"The customer's VAT number.","type":"string","required":false},"customer_address":{"description":"The customer's address.","type":"string","required":false},"address_confirmed":{"description":"Whether or not the customer's address is confirmed.","type":"boolean","required":false},"meta_data":{"description":"Invoice metadata.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"string","context":["view","edit","embed"]},"key":{"description":"Meta key.","type":"string","context":["view","edit","embed"]},"value":{"description":"Meta Value.","type":["string","array","object","integer","null"],"context":["view","edit","embed"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/wpi\/v1\/invoices"}]}},"\/wpi\/v1\/invoices\/(?P[\\d]+)":{"namespace":"wpi\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the object.","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}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the object.","type":"integer","required":false},"parent_id":{"description":"Parent invoice ID.","type":"integer","minimum":0,"required":false},"number":{"description":"A unique number for the invoice.","type":"string","required":false},"template":{"description":"The invoice template.","type":"string","enum":["quantity","hours","amount"],"required":false},"status":{"description":"Invoice status.","type":"string","enum":["wpi-pending","publish","wpi-processing","wpi-onhold","wpi-cancelled","wpi-refunded","wpi-failed","wpi-renewal","draft"],"required":false},"currency":{"description":"The invoice currency in ISO format.","type":"string","enum":["USD","EUR","GBP","AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","FJD","FKP","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","MRO","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","STD","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"date_created":{"description":"The date the invoice was created, in the site's time zone.","type":"string","required":false},"due_date":{"description":"The invoice's due date, in the site's time zone.","type":"string","required":false},"fees":{"description":"Invoice fees (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time fee.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"discounts":{"description":"Invoice discounts (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time discount.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"taxes":{"description":"Invoice taxes (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time tax.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"items":{"description":"Invoice items.","type":"array","items":{"type":"object","required":["item_id"],"properties":{"item_id":{"description":"Item ID.","type":"integer","context":["view","edit","embed"]},"item_name":{"description":"Item Name.","type":"string","context":["view","edit","embed"]},"item_description":{"description":"Item Description.","type":"string","context":["view","edit","embed"]},"item_price":{"description":"Item Price.","type":"number","context":["view","edit","embed"]},"quantity":{"description":"Item Quantity.","type":"number","context":["view","edit","embed"]},"subtotal":{"description":"Item Subtotal.","type":"number","context":["view","edit","embed"],"readonly":true},"meta":{"description":"Item Meta.","type":"object","context":["view","edit","embed"]}}},"required":false},"discount_code":{"description":"The discount code used on this invoice.","type":"string","required":false},"gateway":{"description":"The gateway used to pay this invoice.","type":"string","required":false},"transaction_id":{"description":"The transaction ID for this invoice.","type":"string","required":false},"disable_taxes":{"description":"Whether or not taxes should be disabled for this invoice.","type":"boolean ","required":false},"email_cc":{"description":"A comma separated list of other emails that should receive communications for this invoice.","type":"string ","required":false},"description":{"description":"The invoice description.","type":"string","required":false},"customer_id":{"description":"The customer ID.","type":"integer","required":false},"customer_ip":{"description":"The customer's IP address.","type":"string","format":"ip","required":false},"first_name":{"description":"The customer's first name.","type":"string","required":false},"last_name":{"description":"The customer's last name.","type":"string","required":false},"phone_number":{"description":"The customer's phone number.","type":"string","required":false},"customer_country":{"description":"The customer's country.","type":"string","required":false},"customer_state":{"description":"The customer's county.","type":"string","required":false},"customer_city":{"description":"The customer's city.","type":"string","required":false},"customer_zip":{"description":"The customer's postcode.","type":"string","required":false},"customer_company":{"description":"The customer's company name.","type":"string","required":false},"vat_number":{"description":"The customer's VAT number.","type":"string","required":false},"customer_address":{"description":"The customer's address.","type":"string","required":false},"address_confirmed":{"description":"Whether or not the customer's address is confirmed.","type":"boolean","required":false},"meta_data":{"description":"Invoice metadata.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"string","context":["view","edit","embed"]},"key":{"description":"Meta key.","type":"string","context":["view","edit","embed"]},"value":{"description":"Meta Value.","type":["string","array","object","integer","null"],"context":["view","edit","embed"]}}},"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 the bin and force deletion.","required":false}}}]},"\/wpi\/v1\/invoices\/batch":{"namespace":"wpi\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"description":"Parent invoice ID.","type":"integer","minimum":0,"required":false},"number":{"description":"A unique number for the invoice.","type":"string","required":false},"template":{"description":"The invoice template.","type":"string","enum":["quantity","hours","amount"],"required":false},"status":{"description":"Invoice status.","type":"string","enum":["wpi-pending","publish","wpi-processing","wpi-onhold","wpi-cancelled","wpi-refunded","wpi-failed","wpi-renewal","draft"],"required":false},"currency":{"description":"The invoice currency in ISO format.","type":"string","enum":["USD","EUR","GBP","AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYN","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","FJD","FKP","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","MRO","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","STD","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","UYU","UZS","VEF","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"],"required":false},"date_created":{"description":"The date the invoice was created, in the site's time zone.","type":"string","required":false},"due_date":{"description":"The invoice's due date, in the site's time zone.","type":"string","required":false},"fees":{"description":"Invoice fees (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time fee.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"discounts":{"description":"Invoice discounts (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time discount.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"taxes":{"description":"Invoice taxes (Name => properties).","type":"object","items":{"type":"object","required":["amount"],"properties":{"amount":{"description":"Fee amount.","type":"string","context":["view","edit","embed"]},"recurring":{"description":"Whether this is a recurring or one-time tax.","type":["boolean","integer"],"context":["view","edit","embed"]}}},"required":false},"items":{"description":"Invoice items.","type":"array","items":{"type":"object","required":["item_id"],"properties":{"item_id":{"description":"Item ID.","type":"integer","context":["view","edit","embed"]},"item_name":{"description":"Item Name.","type":"string","context":["view","edit","embed"]},"item_description":{"description":"Item Description.","type":"string","context":["view","edit","embed"]},"item_price":{"description":"Item Price.","type":"number","context":["view","edit","embed"]},"quantity":{"description":"Item Quantity.","type":"number","context":["view","edit","embed"]},"subtotal":{"description":"Item Subtotal.","type":"number","context":["view","edit","embed"],"readonly":true},"meta":{"description":"Item Meta.","type":"object","context":["view","edit","embed"]}}},"required":false},"discount_code":{"description":"The discount code used on this invoice.","type":"string","required":false},"gateway":{"description":"The gateway used to pay this invoice.","type":"string","required":false},"transaction_id":{"description":"The transaction ID for this invoice.","type":"string","required":false},"disable_taxes":{"description":"Whether or not taxes should be disabled for this invoice.","type":"boolean ","required":false},"email_cc":{"description":"A comma separated list of other emails that should receive communications for this invoice.","type":"string ","required":false},"description":{"description":"The invoice description.","type":"string","required":false},"customer_id":{"description":"The customer ID.","type":"integer","required":false},"customer_ip":{"description":"The customer's IP address.","type":"string","format":"ip","required":false},"first_name":{"description":"The customer's first name.","type":"string","required":false},"last_name":{"description":"The customer's last name.","type":"string","required":false},"phone_number":{"description":"The customer's phone number.","type":"string","required":false},"customer_country":{"description":"The customer's country.","type":"string","required":false},"customer_state":{"description":"The customer's county.","type":"string","required":false},"customer_city":{"description":"The customer's city.","type":"string","required":false},"customer_zip":{"description":"The customer's postcode.","type":"string","required":false},"customer_company":{"description":"The customer's company name.","type":"string","required":false},"vat_number":{"description":"The customer's VAT number.","type":"string","required":false},"customer_address":{"description":"The customer's address.","type":"string","required":false},"address_confirmed":{"description":"Whether or not the customer's address is confirmed.","type":"boolean","required":false},"meta_data":{"description":"Invoice metadata.","type":"array","items":{"type":"object","properties":{"id":{"description":"Meta ID.","type":"string","context":["view","edit","embed"]},"key":{"description":"Meta key.","type":"string","context":["view","edit","embed"]},"value":{"description":"Meta Value.","type":["string","array","object","integer","null"],"context":["view","edit","embed"]}}},"required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/wpi\/v1\/invoices\/batch"}]}},"\/getpaid\/v1\/items":{"namespace":"getpaid\/v1","methods":["GET","POST"],"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.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"status":{"default":["draft","pending","publish"],"description":"Limit result set to resources assigned one or more statuses.","type":["array","string"],"items":{"enum":["draft","pending","publish"],"type":"string"},"required":false},"after":{"description":"Limit response to resources created after a given ISO8601 compliant date.","type":"string","format":"string","required":false},"before":{"description":"Limit response to resources created before a given ISO8601 compliant date.","type":"string","format":"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":{"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},"type":{"description":"Type of items to fetch.","type":["array","string"],"default":"any","items":{"enum":["any","custom","fee","package"],"type":"string"},"required":false}}},{"methods":["POST"],"args":{"parent_id":{"default":0,"description":"Parent item ID.","type":"integer","required":false},"status":{"default":"draft","description":"A named status for the item.","type":"string","enum":["draft","pending","publish"],"required":false},"date_created":{"description":"The date the item was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The item's name.","type":"string","required":true},"description":{"description":"The item's description.","type":"string","required":false},"owner":{"description":"The owner of the item (user ID).","type":"integer","required":false},"price":{"description":"The price of the item.","type":"number","required":true},"type":{"default":"custom","description":"The item type.","type":"string","enum":["custom","fee","package"],"required":false},"vat_rule":{"description":"VAT rule applied to the item.","type":"string","enum":["physical","digital"],"required":false},"vat_class":{"description":"VAT class for the item.","type":"string","enum":["_standard","_reduced","_exempt"],"required":false},"custom_id":{"description":"Custom ID for the item.","type":"string","required":false},"custom_name":{"description":"Custom name for the item.","type":"string","required":false},"custom_singular_name":{"description":"Custom singular name for the item.","type":"string","required":false},"is_dynamic_pricing":{"description":"Whether or not customers can enter their own prices when checking out.","type":"integer","enum":[0,1],"required":false},"minimum_price":{"description":"For dynamic prices, this is the minimum price that a user can set.","type":"number","required":false},"is_recurring":{"description":"Whether or not this is a subscription item.","type":"integer","enum":[0,1],"required":false},"recurring_period":{"description":"The recurring period for a recurring item.","type":"string","enum":["D","W","M","Y"],"required":false},"recurring_interval":{"description":"The recurring interval for a subscription item.","type":"integer","required":false},"recurring_limit":{"description":"The maximum number of renewals for a subscription item.","type":"integer","required":false},"is_free_trial":{"description":"Whether the item has a free trial period.","type":"integer","enum":[0,1],"required":false},"trial_period":{"description":"The trial period.","type":"string","enum":["D","W","M","Y"],"required":false},"trial_interval":{"description":"The trial interval.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/getpaid\/v1\/items"}]}},"\/getpaid\/v1\/items\/(?P[\\d]+)":{"namespace":"getpaid\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the object.","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}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the object.","type":"integer","required":false},"parent_id":{"description":"Parent item ID.","type":"integer","required":false},"status":{"description":"A named status for the item.","type":"string","enum":["draft","pending","publish"],"required":false},"date_created":{"description":"The date the item was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The item's name.","type":"string","required":false},"description":{"description":"The item's description.","type":"string","required":false},"owner":{"description":"The owner of the item (user ID).","type":"integer","required":false},"price":{"description":"The price of the item.","type":"number","required":false},"type":{"description":"The item type.","type":"string","enum":["custom","fee","package"],"required":false},"vat_rule":{"description":"VAT rule applied to the item.","type":"string","enum":["physical","digital"],"required":false},"vat_class":{"description":"VAT class for the item.","type":"string","enum":["_standard","_reduced","_exempt"],"required":false},"custom_id":{"description":"Custom ID for the item.","type":"string","required":false},"custom_name":{"description":"Custom name for the item.","type":"string","required":false},"custom_singular_name":{"description":"Custom singular name for the item.","type":"string","required":false},"is_dynamic_pricing":{"description":"Whether or not customers can enter their own prices when checking out.","type":"integer","enum":[0,1],"required":false},"minimum_price":{"description":"For dynamic prices, this is the minimum price that a user can set.","type":"number","required":false},"is_recurring":{"description":"Whether or not this is a subscription item.","type":"integer","enum":[0,1],"required":false},"recurring_period":{"description":"The recurring period for a recurring item.","type":"string","enum":["D","W","M","Y"],"required":false},"recurring_interval":{"description":"The recurring interval for a subscription item.","type":"integer","required":false},"recurring_limit":{"description":"The maximum number of renewals for a subscription item.","type":"integer","required":false},"is_free_trial":{"description":"Whether the item has a free trial period.","type":"integer","enum":[0,1],"required":false},"trial_period":{"description":"The trial period.","type":"string","enum":["D","W","M","Y"],"required":false},"trial_interval":{"description":"The trial interval.","type":"integer","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 the bin and force deletion.","required":false}}}]},"\/getpaid\/v1\/items\/batch":{"namespace":"getpaid\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"description":"Parent item ID.","type":"integer","required":false},"status":{"description":"A named status for the item.","type":"string","enum":["draft","pending","publish"],"required":false},"date_created":{"description":"The date the item was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The item's name.","type":"string","required":false},"description":{"description":"The item's description.","type":"string","required":false},"owner":{"description":"The owner of the item (user ID).","type":"integer","required":false},"price":{"description":"The price of the item.","type":"number","required":false},"type":{"description":"The item type.","type":"string","enum":["custom","fee","package"],"required":false},"vat_rule":{"description":"VAT rule applied to the item.","type":"string","enum":["physical","digital"],"required":false},"vat_class":{"description":"VAT class for the item.","type":"string","enum":["_standard","_reduced","_exempt"],"required":false},"custom_id":{"description":"Custom ID for the item.","type":"string","required":false},"custom_name":{"description":"Custom name for the item.","type":"string","required":false},"custom_singular_name":{"description":"Custom singular name for the item.","type":"string","required":false},"is_dynamic_pricing":{"description":"Whether or not customers can enter their own prices when checking out.","type":"integer","enum":[0,1],"required":false},"minimum_price":{"description":"For dynamic prices, this is the minimum price that a user can set.","type":"number","required":false},"is_recurring":{"description":"Whether or not this is a subscription item.","type":"integer","enum":[0,1],"required":false},"recurring_period":{"description":"The recurring period for a recurring item.","type":"string","enum":["D","W","M","Y"],"required":false},"recurring_interval":{"description":"The recurring interval for a subscription item.","type":"integer","required":false},"recurring_limit":{"description":"The maximum number of renewals for a subscription item.","type":"integer","required":false},"is_free_trial":{"description":"Whether the item has a free trial period.","type":"integer","enum":[0,1],"required":false},"trial_period":{"description":"The trial period.","type":"string","enum":["D","W","M","Y"],"required":false},"trial_interval":{"description":"The trial interval.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/getpaid\/v1\/items\/batch"}]}},"\/getpaid\/v1\/items\/item-types":{"namespace":"getpaid\/v1","methods":["GET","GET","GET"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["GET"],"args":[]},{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/getpaid\/v1\/items\/item-types"}]}},"\/invoicing\/v1\/items":{"namespace":"invoicing\/v1","methods":["GET","POST"],"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.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"status":{"default":["draft","pending","publish"],"description":"Limit result set to resources assigned one or more statuses.","type":["array","string"],"items":{"enum":["draft","pending","publish"],"type":"string"},"required":false},"after":{"description":"Limit response to resources created after a given ISO8601 compliant date.","type":"string","format":"string","required":false},"before":{"description":"Limit response to resources created before a given ISO8601 compliant date.","type":"string","format":"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":{"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},"type":{"description":"Type of items to fetch.","type":["array","string"],"default":"any","items":{"enum":["any","custom","fee","package"],"type":"string"},"required":false}}},{"methods":["POST"],"args":{"parent_id":{"default":0,"description":"Parent item ID.","type":"integer","required":false},"status":{"default":"draft","description":"A named status for the item.","type":"string","enum":["draft","pending","publish"],"required":false},"date_created":{"description":"The date the item was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The item's name.","type":"string","required":true},"description":{"description":"The item's description.","type":"string","required":false},"owner":{"description":"The owner of the item (user ID).","type":"integer","required":false},"price":{"description":"The price of the item.","type":"number","required":true},"type":{"default":"custom","description":"The item type.","type":"string","enum":["custom","fee","package"],"required":false},"vat_rule":{"description":"VAT rule applied to the item.","type":"string","enum":["physical","digital"],"required":false},"vat_class":{"description":"VAT class for the item.","type":"string","enum":["_standard","_reduced","_exempt"],"required":false},"custom_id":{"description":"Custom ID for the item.","type":"string","required":false},"custom_name":{"description":"Custom name for the item.","type":"string","required":false},"custom_singular_name":{"description":"Custom singular name for the item.","type":"string","required":false},"is_dynamic_pricing":{"description":"Whether or not customers can enter their own prices when checking out.","type":"integer","enum":[0,1],"required":false},"minimum_price":{"description":"For dynamic prices, this is the minimum price that a user can set.","type":"number","required":false},"is_recurring":{"description":"Whether or not this is a subscription item.","type":"integer","enum":[0,1],"required":false},"recurring_period":{"description":"The recurring period for a recurring item.","type":"string","enum":["D","W","M","Y"],"required":false},"recurring_interval":{"description":"The recurring interval for a subscription item.","type":"integer","required":false},"recurring_limit":{"description":"The maximum number of renewals for a subscription item.","type":"integer","required":false},"is_free_trial":{"description":"Whether the item has a free trial period.","type":"integer","enum":[0,1],"required":false},"trial_period":{"description":"The trial period.","type":"string","enum":["D","W","M","Y"],"required":false},"trial_interval":{"description":"The trial interval.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/invoicing\/v1\/items"}]}},"\/invoicing\/v1\/items\/(?P[\\d]+)":{"namespace":"invoicing\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the object.","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}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the object.","type":"integer","required":false},"parent_id":{"description":"Parent item ID.","type":"integer","required":false},"status":{"description":"A named status for the item.","type":"string","enum":["draft","pending","publish"],"required":false},"date_created":{"description":"The date the item was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The item's name.","type":"string","required":false},"description":{"description":"The item's description.","type":"string","required":false},"owner":{"description":"The owner of the item (user ID).","type":"integer","required":false},"price":{"description":"The price of the item.","type":"number","required":false},"type":{"description":"The item type.","type":"string","enum":["custom","fee","package"],"required":false},"vat_rule":{"description":"VAT rule applied to the item.","type":"string","enum":["physical","digital"],"required":false},"vat_class":{"description":"VAT class for the item.","type":"string","enum":["_standard","_reduced","_exempt"],"required":false},"custom_id":{"description":"Custom ID for the item.","type":"string","required":false},"custom_name":{"description":"Custom name for the item.","type":"string","required":false},"custom_singular_name":{"description":"Custom singular name for the item.","type":"string","required":false},"is_dynamic_pricing":{"description":"Whether or not customers can enter their own prices when checking out.","type":"integer","enum":[0,1],"required":false},"minimum_price":{"description":"For dynamic prices, this is the minimum price that a user can set.","type":"number","required":false},"is_recurring":{"description":"Whether or not this is a subscription item.","type":"integer","enum":[0,1],"required":false},"recurring_period":{"description":"The recurring period for a recurring item.","type":"string","enum":["D","W","M","Y"],"required":false},"recurring_interval":{"description":"The recurring interval for a subscription item.","type":"integer","required":false},"recurring_limit":{"description":"The maximum number of renewals for a subscription item.","type":"integer","required":false},"is_free_trial":{"description":"Whether the item has a free trial period.","type":"integer","enum":[0,1],"required":false},"trial_period":{"description":"The trial period.","type":"string","enum":["D","W","M","Y"],"required":false},"trial_interval":{"description":"The trial interval.","type":"integer","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 the bin and force deletion.","required":false}}}]},"\/invoicing\/v1\/items\/batch":{"namespace":"invoicing\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"description":"Parent item ID.","type":"integer","required":false},"status":{"description":"A named status for the item.","type":"string","enum":["draft","pending","publish"],"required":false},"date_created":{"description":"The date the item was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The item's name.","type":"string","required":false},"description":{"description":"The item's description.","type":"string","required":false},"owner":{"description":"The owner of the item (user ID).","type":"integer","required":false},"price":{"description":"The price of the item.","type":"number","required":false},"type":{"description":"The item type.","type":"string","enum":["custom","fee","package"],"required":false},"vat_rule":{"description":"VAT rule applied to the item.","type":"string","enum":["physical","digital"],"required":false},"vat_class":{"description":"VAT class for the item.","type":"string","enum":["_standard","_reduced","_exempt"],"required":false},"custom_id":{"description":"Custom ID for the item.","type":"string","required":false},"custom_name":{"description":"Custom name for the item.","type":"string","required":false},"custom_singular_name":{"description":"Custom singular name for the item.","type":"string","required":false},"is_dynamic_pricing":{"description":"Whether or not customers can enter their own prices when checking out.","type":"integer","enum":[0,1],"required":false},"minimum_price":{"description":"For dynamic prices, this is the minimum price that a user can set.","type":"number","required":false},"is_recurring":{"description":"Whether or not this is a subscription item.","type":"integer","enum":[0,1],"required":false},"recurring_period":{"description":"The recurring period for a recurring item.","type":"string","enum":["D","W","M","Y"],"required":false},"recurring_interval":{"description":"The recurring interval for a subscription item.","type":"integer","required":false},"recurring_limit":{"description":"The maximum number of renewals for a subscription item.","type":"integer","required":false},"is_free_trial":{"description":"Whether the item has a free trial period.","type":"integer","enum":[0,1],"required":false},"trial_period":{"description":"The trial period.","type":"string","enum":["D","W","M","Y"],"required":false},"trial_interval":{"description":"The trial interval.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/invoicing\/v1\/items\/batch"}]}},"\/wpi\/v1\/items":{"namespace":"wpi\/v1","methods":["GET","POST"],"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.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"status":{"default":["draft","pending","publish"],"description":"Limit result set to resources assigned one or more statuses.","type":["array","string"],"items":{"enum":["draft","pending","publish"],"type":"string"},"required":false},"after":{"description":"Limit response to resources created after a given ISO8601 compliant date.","type":"string","format":"string","required":false},"before":{"description":"Limit response to resources created before a given ISO8601 compliant date.","type":"string","format":"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":{"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},"type":{"description":"Type of items to fetch.","type":["array","string"],"default":"any","items":{"enum":["any","custom","fee","package"],"type":"string"},"required":false}}},{"methods":["POST"],"args":{"parent_id":{"default":0,"description":"Parent item ID.","type":"integer","required":false},"status":{"default":"draft","description":"A named status for the item.","type":"string","enum":["draft","pending","publish"],"required":false},"date_created":{"description":"The date the item was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The item's name.","type":"string","required":true},"description":{"description":"The item's description.","type":"string","required":false},"owner":{"description":"The owner of the item (user ID).","type":"integer","required":false},"price":{"description":"The price of the item.","type":"number","required":true},"type":{"default":"custom","description":"The item type.","type":"string","enum":["custom","fee","package"],"required":false},"vat_rule":{"description":"VAT rule applied to the item.","type":"string","enum":["physical","digital"],"required":false},"vat_class":{"description":"VAT class for the item.","type":"string","enum":["_standard","_reduced","_exempt"],"required":false},"custom_id":{"description":"Custom ID for the item.","type":"string","required":false},"custom_name":{"description":"Custom name for the item.","type":"string","required":false},"custom_singular_name":{"description":"Custom singular name for the item.","type":"string","required":false},"is_dynamic_pricing":{"description":"Whether or not customers can enter their own prices when checking out.","type":"integer","enum":[0,1],"required":false},"minimum_price":{"description":"For dynamic prices, this is the minimum price that a user can set.","type":"number","required":false},"is_recurring":{"description":"Whether or not this is a subscription item.","type":"integer","enum":[0,1],"required":false},"recurring_period":{"description":"The recurring period for a recurring item.","type":"string","enum":["D","W","M","Y"],"required":false},"recurring_interval":{"description":"The recurring interval for a subscription item.","type":"integer","required":false},"recurring_limit":{"description":"The maximum number of renewals for a subscription item.","type":"integer","required":false},"is_free_trial":{"description":"Whether the item has a free trial period.","type":"integer","enum":[0,1],"required":false},"trial_period":{"description":"The trial period.","type":"string","enum":["D","W","M","Y"],"required":false},"trial_interval":{"description":"The trial interval.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/wpi\/v1\/items"}]}},"\/wpi\/v1\/items\/(?P[\\d]+)":{"namespace":"wpi\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the object.","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}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the object.","type":"integer","required":false},"parent_id":{"description":"Parent item ID.","type":"integer","required":false},"status":{"description":"A named status for the item.","type":"string","enum":["draft","pending","publish"],"required":false},"date_created":{"description":"The date the item was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The item's name.","type":"string","required":false},"description":{"description":"The item's description.","type":"string","required":false},"owner":{"description":"The owner of the item (user ID).","type":"integer","required":false},"price":{"description":"The price of the item.","type":"number","required":false},"type":{"description":"The item type.","type":"string","enum":["custom","fee","package"],"required":false},"vat_rule":{"description":"VAT rule applied to the item.","type":"string","enum":["physical","digital"],"required":false},"vat_class":{"description":"VAT class for the item.","type":"string","enum":["_standard","_reduced","_exempt"],"required":false},"custom_id":{"description":"Custom ID for the item.","type":"string","required":false},"custom_name":{"description":"Custom name for the item.","type":"string","required":false},"custom_singular_name":{"description":"Custom singular name for the item.","type":"string","required":false},"is_dynamic_pricing":{"description":"Whether or not customers can enter their own prices when checking out.","type":"integer","enum":[0,1],"required":false},"minimum_price":{"description":"For dynamic prices, this is the minimum price that a user can set.","type":"number","required":false},"is_recurring":{"description":"Whether or not this is a subscription item.","type":"integer","enum":[0,1],"required":false},"recurring_period":{"description":"The recurring period for a recurring item.","type":"string","enum":["D","W","M","Y"],"required":false},"recurring_interval":{"description":"The recurring interval for a subscription item.","type":"integer","required":false},"recurring_limit":{"description":"The maximum number of renewals for a subscription item.","type":"integer","required":false},"is_free_trial":{"description":"Whether the item has a free trial period.","type":"integer","enum":[0,1],"required":false},"trial_period":{"description":"The trial period.","type":"string","enum":["D","W","M","Y"],"required":false},"trial_interval":{"description":"The trial interval.","type":"integer","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 the bin and force deletion.","required":false}}}]},"\/wpi\/v1\/items\/batch":{"namespace":"wpi\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"parent_id":{"description":"Parent item ID.","type":"integer","required":false},"status":{"description":"A named status for the item.","type":"string","enum":["draft","pending","publish"],"required":false},"date_created":{"description":"The date the item was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The item's name.","type":"string","required":false},"description":{"description":"The item's description.","type":"string","required":false},"owner":{"description":"The owner of the item (user ID).","type":"integer","required":false},"price":{"description":"The price of the item.","type":"number","required":false},"type":{"description":"The item type.","type":"string","enum":["custom","fee","package"],"required":false},"vat_rule":{"description":"VAT rule applied to the item.","type":"string","enum":["physical","digital"],"required":false},"vat_class":{"description":"VAT class for the item.","type":"string","enum":["_standard","_reduced","_exempt"],"required":false},"custom_id":{"description":"Custom ID for the item.","type":"string","required":false},"custom_name":{"description":"Custom name for the item.","type":"string","required":false},"custom_singular_name":{"description":"Custom singular name for the item.","type":"string","required":false},"is_dynamic_pricing":{"description":"Whether or not customers can enter their own prices when checking out.","type":"integer","enum":[0,1],"required":false},"minimum_price":{"description":"For dynamic prices, this is the minimum price that a user can set.","type":"number","required":false},"is_recurring":{"description":"Whether or not this is a subscription item.","type":"integer","enum":[0,1],"required":false},"recurring_period":{"description":"The recurring period for a recurring item.","type":"string","enum":["D","W","M","Y"],"required":false},"recurring_interval":{"description":"The recurring interval for a subscription item.","type":"integer","required":false},"recurring_limit":{"description":"The maximum number of renewals for a subscription item.","type":"integer","required":false},"is_free_trial":{"description":"Whether the item has a free trial period.","type":"integer","enum":[0,1],"required":false},"trial_period":{"description":"The trial period.","type":"string","enum":["D","W","M","Y"],"required":false},"trial_interval":{"description":"The trial interval.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/wpi\/v1\/items\/batch"}]}},"\/getpaid\/v1\/discounts":{"namespace":"getpaid\/v1","methods":["GET","POST"],"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.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"status":{"default":["publish","pending","draft","expired"],"description":"Limit result set to resources assigned one or more statuses.","type":["array","string"],"items":{"enum":["publish","pending","draft","expired"],"type":"string"},"required":false},"after":{"description":"Limit response to resources created after a given ISO8601 compliant date.","type":"string","format":"string","required":false},"before":{"description":"Limit response to resources created before a given ISO8601 compliant date.","type":"string","format":"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":{"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},"type":{"description":"Type of discounts to fetch.","type":["array","string"],"default":"any","items":{"enum":["any","percent","flat"],"type":"string"},"required":false}}},{"methods":["POST"],"args":{"status":{"default":"draft","description":"A named status for the discount.","type":"string","enum":["publish","pending","draft","expired"],"required":false},"date_created":{"description":"The date the discount was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The discount name.","type":"string","required":false},"description":{"description":"A description of what the discount is all about.","type":"string","required":false},"code":{"description":"The discount code.","type":"string","required":true},"type":{"default":"percent","description":"The type of discount.","type":"string","enum":["percent","flat"],"required":false},"amount":{"description":"The discount value.","type":"number","required":true},"max_uses":{"description":"The maximum number of times the discount can be used.","type":"integer","required":false},"is_single_use":{"description":"Whether or not the discount can only be used once per user.","type":"boolean","required":false},"is_recurring":{"description":"Whether or not the discount applies to the initial payment only or all recurring payments.","type":"boolean","required":false},"start_date":{"description":"The start date for the discount in the format of yyyy-mm-dd hh:mm:ss. If provided, the discount can only be used after or on this date.","type":"string","required":false},"end_date":{"description":"The expiry date for the discount.","type":"string","required":false},"allowed_items":{"description":"Items which are allowed to use this discount. Leave blank to enable for all items.","type":"array","items":{"type":"integer"},"required":false},"excluded_items":{"description":"Items which are NOT allowed to use this discount.","type":"array","items":{"type":"integer"},"required":false},"required_items":{"description":"Items which are required to be in the cart before using this discount.","type":"array","items":{"type":"integer"},"required":false},"minimum_total":{"description":"The minimum total needed to use this invoice.","type":"number","required":false},"maximum_total":{"description":"The maximum total needed to use this invoice.","type":"number","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/getpaid\/v1\/discounts"}]}},"\/getpaid\/v1\/discounts\/(?P[\\d]+)":{"namespace":"getpaid\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the object.","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}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the object.","type":"integer","required":false},"status":{"description":"A named status for the discount.","type":"string","enum":["publish","pending","draft","expired"],"required":false},"date_created":{"description":"The date the discount was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The discount name.","type":"string","required":false},"description":{"description":"A description of what the discount is all about.","type":"string","required":false},"code":{"description":"The discount code.","type":"string","required":false},"type":{"description":"The type of discount.","type":"string","enum":["percent","flat"],"required":false},"amount":{"description":"The discount value.","type":"number","required":false},"max_uses":{"description":"The maximum number of times the discount can be used.","type":"integer","required":false},"is_single_use":{"description":"Whether or not the discount can only be used once per user.","type":"boolean","required":false},"is_recurring":{"description":"Whether or not the discount applies to the initial payment only or all recurring payments.","type":"boolean","required":false},"start_date":{"description":"The start date for the discount in the format of yyyy-mm-dd hh:mm:ss. If provided, the discount can only be used after or on this date.","type":"string","required":false},"end_date":{"description":"The expiry date for the discount.","type":"string","required":false},"allowed_items":{"description":"Items which are allowed to use this discount. Leave blank to enable for all items.","type":"array","items":{"type":"integer"},"required":false},"excluded_items":{"description":"Items which are NOT allowed to use this discount.","type":"array","items":{"type":"integer"},"required":false},"required_items":{"description":"Items which are required to be in the cart before using this discount.","type":"array","items":{"type":"integer"},"required":false},"minimum_total":{"description":"The minimum total needed to use this invoice.","type":"number","required":false},"maximum_total":{"description":"The maximum total needed to use this invoice.","type":"number","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 the bin and force deletion.","required":false}}}]},"\/getpaid\/v1\/discounts\/batch":{"namespace":"getpaid\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"status":{"description":"A named status for the discount.","type":"string","enum":["publish","pending","draft","expired"],"required":false},"date_created":{"description":"The date the discount was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The discount name.","type":"string","required":false},"description":{"description":"A description of what the discount is all about.","type":"string","required":false},"code":{"description":"The discount code.","type":"string","required":false},"type":{"description":"The type of discount.","type":"string","enum":["percent","flat"],"required":false},"amount":{"description":"The discount value.","type":"number","required":false},"max_uses":{"description":"The maximum number of times the discount can be used.","type":"integer","required":false},"is_single_use":{"description":"Whether or not the discount can only be used once per user.","type":"boolean","required":false},"is_recurring":{"description":"Whether or not the discount applies to the initial payment only or all recurring payments.","type":"boolean","required":false},"start_date":{"description":"The start date for the discount in the format of yyyy-mm-dd hh:mm:ss. If provided, the discount can only be used after or on this date.","type":"string","required":false},"end_date":{"description":"The expiry date for the discount.","type":"string","required":false},"allowed_items":{"description":"Items which are allowed to use this discount. Leave blank to enable for all items.","type":"array","items":{"type":"integer"},"required":false},"excluded_items":{"description":"Items which are NOT allowed to use this discount.","type":"array","items":{"type":"integer"},"required":false},"required_items":{"description":"Items which are required to be in the cart before using this discount.","type":"array","items":{"type":"integer"},"required":false},"minimum_total":{"description":"The minimum total needed to use this invoice.","type":"number","required":false},"maximum_total":{"description":"The maximum total needed to use this invoice.","type":"number","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/getpaid\/v1\/discounts\/batch"}]}},"\/getpaid\/v1\/discounts\/discount-types":{"namespace":"getpaid\/v1","methods":["GET","GET","GET"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["GET"],"args":[]},{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/getpaid\/v1\/discounts\/discount-types"}]}},"\/invoicing\/v1\/discounts":{"namespace":"invoicing\/v1","methods":["GET","POST"],"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.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"status":{"default":["publish","pending","draft","expired"],"description":"Limit result set to resources assigned one or more statuses.","type":["array","string"],"items":{"enum":["publish","pending","draft","expired"],"type":"string"},"required":false},"after":{"description":"Limit response to resources created after a given ISO8601 compliant date.","type":"string","format":"string","required":false},"before":{"description":"Limit response to resources created before a given ISO8601 compliant date.","type":"string","format":"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":{"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},"type":{"description":"Type of discounts to fetch.","type":["array","string"],"default":"any","items":{"enum":["any","percent","flat"],"type":"string"},"required":false}}},{"methods":["POST"],"args":{"status":{"default":"draft","description":"A named status for the discount.","type":"string","enum":["publish","pending","draft","expired"],"required":false},"date_created":{"description":"The date the discount was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The discount name.","type":"string","required":false},"description":{"description":"A description of what the discount is all about.","type":"string","required":false},"code":{"description":"The discount code.","type":"string","required":true},"type":{"default":"percent","description":"The type of discount.","type":"string","enum":["percent","flat"],"required":false},"amount":{"description":"The discount value.","type":"number","required":true},"max_uses":{"description":"The maximum number of times the discount can be used.","type":"integer","required":false},"is_single_use":{"description":"Whether or not the discount can only be used once per user.","type":"boolean","required":false},"is_recurring":{"description":"Whether or not the discount applies to the initial payment only or all recurring payments.","type":"boolean","required":false},"start_date":{"description":"The start date for the discount in the format of yyyy-mm-dd hh:mm:ss. If provided, the discount can only be used after or on this date.","type":"string","required":false},"end_date":{"description":"The expiry date for the discount.","type":"string","required":false},"allowed_items":{"description":"Items which are allowed to use this discount. Leave blank to enable for all items.","type":"array","items":{"type":"integer"},"required":false},"excluded_items":{"description":"Items which are NOT allowed to use this discount.","type":"array","items":{"type":"integer"},"required":false},"required_items":{"description":"Items which are required to be in the cart before using this discount.","type":"array","items":{"type":"integer"},"required":false},"minimum_total":{"description":"The minimum total needed to use this invoice.","type":"number","required":false},"maximum_total":{"description":"The maximum total needed to use this invoice.","type":"number","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/invoicing\/v1\/discounts"}]}},"\/invoicing\/v1\/discounts\/(?P[\\d]+)":{"namespace":"invoicing\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the object.","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}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the object.","type":"integer","required":false},"status":{"description":"A named status for the discount.","type":"string","enum":["publish","pending","draft","expired"],"required":false},"date_created":{"description":"The date the discount was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The discount name.","type":"string","required":false},"description":{"description":"A description of what the discount is all about.","type":"string","required":false},"code":{"description":"The discount code.","type":"string","required":false},"type":{"description":"The type of discount.","type":"string","enum":["percent","flat"],"required":false},"amount":{"description":"The discount value.","type":"number","required":false},"max_uses":{"description":"The maximum number of times the discount can be used.","type":"integer","required":false},"is_single_use":{"description":"Whether or not the discount can only be used once per user.","type":"boolean","required":false},"is_recurring":{"description":"Whether or not the discount applies to the initial payment only or all recurring payments.","type":"boolean","required":false},"start_date":{"description":"The start date for the discount in the format of yyyy-mm-dd hh:mm:ss. If provided, the discount can only be used after or on this date.","type":"string","required":false},"end_date":{"description":"The expiry date for the discount.","type":"string","required":false},"allowed_items":{"description":"Items which are allowed to use this discount. Leave blank to enable for all items.","type":"array","items":{"type":"integer"},"required":false},"excluded_items":{"description":"Items which are NOT allowed to use this discount.","type":"array","items":{"type":"integer"},"required":false},"required_items":{"description":"Items which are required to be in the cart before using this discount.","type":"array","items":{"type":"integer"},"required":false},"minimum_total":{"description":"The minimum total needed to use this invoice.","type":"number","required":false},"maximum_total":{"description":"The maximum total needed to use this invoice.","type":"number","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 the bin and force deletion.","required":false}}}]},"\/invoicing\/v1\/discounts\/batch":{"namespace":"invoicing\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"status":{"description":"A named status for the discount.","type":"string","enum":["publish","pending","draft","expired"],"required":false},"date_created":{"description":"The date the discount was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The discount name.","type":"string","required":false},"description":{"description":"A description of what the discount is all about.","type":"string","required":false},"code":{"description":"The discount code.","type":"string","required":false},"type":{"description":"The type of discount.","type":"string","enum":["percent","flat"],"required":false},"amount":{"description":"The discount value.","type":"number","required":false},"max_uses":{"description":"The maximum number of times the discount can be used.","type":"integer","required":false},"is_single_use":{"description":"Whether or not the discount can only be used once per user.","type":"boolean","required":false},"is_recurring":{"description":"Whether or not the discount applies to the initial payment only or all recurring payments.","type":"boolean","required":false},"start_date":{"description":"The start date for the discount in the format of yyyy-mm-dd hh:mm:ss. If provided, the discount can only be used after or on this date.","type":"string","required":false},"end_date":{"description":"The expiry date for the discount.","type":"string","required":false},"allowed_items":{"description":"Items which are allowed to use this discount. Leave blank to enable for all items.","type":"array","items":{"type":"integer"},"required":false},"excluded_items":{"description":"Items which are NOT allowed to use this discount.","type":"array","items":{"type":"integer"},"required":false},"required_items":{"description":"Items which are required to be in the cart before using this discount.","type":"array","items":{"type":"integer"},"required":false},"minimum_total":{"description":"The minimum total needed to use this invoice.","type":"number","required":false},"maximum_total":{"description":"The maximum total needed to use this invoice.","type":"number","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/invoicing\/v1\/discounts\/batch"}]}},"\/wpi\/v1\/discounts":{"namespace":"wpi\/v1","methods":["GET","POST"],"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.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"status":{"default":["publish","pending","draft","expired"],"description":"Limit result set to resources assigned one or more statuses.","type":["array","string"],"items":{"enum":["publish","pending","draft","expired"],"type":"string"},"required":false},"after":{"description":"Limit response to resources created after a given ISO8601 compliant date.","type":"string","format":"string","required":false},"before":{"description":"Limit response to resources created before a given ISO8601 compliant date.","type":"string","format":"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":{"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},"type":{"description":"Type of discounts to fetch.","type":["array","string"],"default":"any","items":{"enum":["any","percent","flat"],"type":"string"},"required":false}}},{"methods":["POST"],"args":{"status":{"default":"draft","description":"A named status for the discount.","type":"string","enum":["publish","pending","draft","expired"],"required":false},"date_created":{"description":"The date the discount was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The discount name.","type":"string","required":false},"description":{"description":"A description of what the discount is all about.","type":"string","required":false},"code":{"description":"The discount code.","type":"string","required":true},"type":{"default":"percent","description":"The type of discount.","type":"string","enum":["percent","flat"],"required":false},"amount":{"description":"The discount value.","type":"number","required":true},"max_uses":{"description":"The maximum number of times the discount can be used.","type":"integer","required":false},"is_single_use":{"description":"Whether or not the discount can only be used once per user.","type":"boolean","required":false},"is_recurring":{"description":"Whether or not the discount applies to the initial payment only or all recurring payments.","type":"boolean","required":false},"start_date":{"description":"The start date for the discount in the format of yyyy-mm-dd hh:mm:ss. If provided, the discount can only be used after or on this date.","type":"string","required":false},"end_date":{"description":"The expiry date for the discount.","type":"string","required":false},"allowed_items":{"description":"Items which are allowed to use this discount. Leave blank to enable for all items.","type":"array","items":{"type":"integer"},"required":false},"excluded_items":{"description":"Items which are NOT allowed to use this discount.","type":"array","items":{"type":"integer"},"required":false},"required_items":{"description":"Items which are required to be in the cart before using this discount.","type":"array","items":{"type":"integer"},"required":false},"minimum_total":{"description":"The minimum total needed to use this invoice.","type":"number","required":false},"maximum_total":{"description":"The maximum total needed to use this invoice.","type":"number","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/wpi\/v1\/discounts"}]}},"\/wpi\/v1\/discounts\/(?P[\\d]+)":{"namespace":"wpi\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the object.","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}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the object.","type":"integer","required":false},"status":{"description":"A named status for the discount.","type":"string","enum":["publish","pending","draft","expired"],"required":false},"date_created":{"description":"The date the discount was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The discount name.","type":"string","required":false},"description":{"description":"A description of what the discount is all about.","type":"string","required":false},"code":{"description":"The discount code.","type":"string","required":false},"type":{"description":"The type of discount.","type":"string","enum":["percent","flat"],"required":false},"amount":{"description":"The discount value.","type":"number","required":false},"max_uses":{"description":"The maximum number of times the discount can be used.","type":"integer","required":false},"is_single_use":{"description":"Whether or not the discount can only be used once per user.","type":"boolean","required":false},"is_recurring":{"description":"Whether or not the discount applies to the initial payment only or all recurring payments.","type":"boolean","required":false},"start_date":{"description":"The start date for the discount in the format of yyyy-mm-dd hh:mm:ss. If provided, the discount can only be used after or on this date.","type":"string","required":false},"end_date":{"description":"The expiry date for the discount.","type":"string","required":false},"allowed_items":{"description":"Items which are allowed to use this discount. Leave blank to enable for all items.","type":"array","items":{"type":"integer"},"required":false},"excluded_items":{"description":"Items which are NOT allowed to use this discount.","type":"array","items":{"type":"integer"},"required":false},"required_items":{"description":"Items which are required to be in the cart before using this discount.","type":"array","items":{"type":"integer"},"required":false},"minimum_total":{"description":"The minimum total needed to use this invoice.","type":"number","required":false},"maximum_total":{"description":"The maximum total needed to use this invoice.","type":"number","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 the bin and force deletion.","required":false}}}]},"\/wpi\/v1\/discounts\/batch":{"namespace":"wpi\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"status":{"description":"A named status for the discount.","type":"string","enum":["publish","pending","draft","expired"],"required":false},"date_created":{"description":"The date the discount was created, in the site's time zone.","type":"string","required":false},"name":{"description":"The discount name.","type":"string","required":false},"description":{"description":"A description of what the discount is all about.","type":"string","required":false},"code":{"description":"The discount code.","type":"string","required":false},"type":{"description":"The type of discount.","type":"string","enum":["percent","flat"],"required":false},"amount":{"description":"The discount value.","type":"number","required":false},"max_uses":{"description":"The maximum number of times the discount can be used.","type":"integer","required":false},"is_single_use":{"description":"Whether or not the discount can only be used once per user.","type":"boolean","required":false},"is_recurring":{"description":"Whether or not the discount applies to the initial payment only or all recurring payments.","type":"boolean","required":false},"start_date":{"description":"The start date for the discount in the format of yyyy-mm-dd hh:mm:ss. If provided, the discount can only be used after or on this date.","type":"string","required":false},"end_date":{"description":"The expiry date for the discount.","type":"string","required":false},"allowed_items":{"description":"Items which are allowed to use this discount. Leave blank to enable for all items.","type":"array","items":{"type":"integer"},"required":false},"excluded_items":{"description":"Items which are NOT allowed to use this discount.","type":"array","items":{"type":"integer"},"required":false},"required_items":{"description":"Items which are required to be in the cart before using this discount.","type":"array","items":{"type":"integer"},"required":false},"minimum_total":{"description":"The minimum total needed to use this invoice.","type":"number","required":false},"maximum_total":{"description":"The maximum total needed to use this invoice.","type":"number","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/wpi\/v1\/discounts\/batch"}]}},"\/getpaid\/v1\/settings":{"namespace":"getpaid\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/getpaid\/v1\/settings"}]}},"\/getpaid\/v1\/settings\/setting\/(?P[\\w-]+)":{"namespace":"getpaid\/v1","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the setting.","type":"string","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the setting.","type":"string","required":true},"value":{"description":"The current value of this setting.","type":"mixed","required":false}}}]},"\/getpaid\/v1\/settings\/(?P[\\w-]+)":{"namespace":"getpaid\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tab":{"description":"Unique identifier for the tab whose sections should be retrieved.","type":"string","enum":["general","gateways","taxes","emails","integrations","privacy","misc","tools","pdf-invoices"],"required":true}}}]},"\/getpaid\/v1\/settings\/(?P[\\w-]+)\/(?P
[\\w-]+)":{"namespace":"getpaid\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tab":{"description":"Unique identifier for the tab whose settings should be retrieved.","type":"string","enum":["general","gateways","taxes","emails","integrations","privacy","misc","tools","pdf-invoices"],"required":true},"section":{"description":"The section in the tab whose settings should be retrieved.","type":"string","required":true}}}]},"\/getpaid\/v1\/settings\/batch":{"namespace":"getpaid\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Setting ID.","type":"string","required":false},"value":{"description":"The current value of this setting.","type":"mixed","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/getpaid\/v1\/settings\/batch"}]}},"\/invoicing\/v1\/settings":{"namespace":"invoicing\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/invoicing\/v1\/settings"}]}},"\/invoicing\/v1\/settings\/setting\/(?P[\\w-]+)":{"namespace":"invoicing\/v1","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the setting.","type":"string","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the setting.","type":"string","required":true},"value":{"description":"The current value of this setting.","type":"mixed","required":false}}}]},"\/invoicing\/v1\/settings\/(?P[\\w-]+)":{"namespace":"invoicing\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tab":{"description":"Unique identifier for the tab whose sections should be retrieved.","type":"string","enum":["general","gateways","taxes","emails","integrations","privacy","misc","tools","pdf-invoices"],"required":true}}}]},"\/invoicing\/v1\/settings\/(?P[\\w-]+)\/(?P
[\\w-]+)":{"namespace":"invoicing\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tab":{"description":"Unique identifier for the tab whose settings should be retrieved.","type":"string","enum":["general","gateways","taxes","emails","integrations","privacy","misc","tools","pdf-invoices"],"required":true},"section":{"description":"The section in the tab whose settings should be retrieved.","type":"string","required":true}}}]},"\/invoicing\/v1\/settings\/batch":{"namespace":"invoicing\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Setting ID.","type":"string","required":false},"value":{"description":"The current value of this setting.","type":"mixed","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/invoicing\/v1\/settings\/batch"}]}},"\/wpi\/v1\/settings":{"namespace":"wpi\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/wpi\/v1\/settings"}]}},"\/wpi\/v1\/settings\/setting\/(?P[\\w-]+)":{"namespace":"wpi\/v1","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Unique identifier for the setting.","type":"string","required":true}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Unique identifier for the setting.","type":"string","required":true},"value":{"description":"The current value of this setting.","type":"mixed","required":false}}}]},"\/wpi\/v1\/settings\/(?P[\\w-]+)":{"namespace":"wpi\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tab":{"description":"Unique identifier for the tab whose sections should be retrieved.","type":"string","enum":["general","gateways","taxes","emails","integrations","privacy","misc","tools","pdf-invoices"],"required":true}}}]},"\/wpi\/v1\/settings\/(?P[\\w-]+)\/(?P
[\\w-]+)":{"namespace":"wpi\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"tab":{"description":"Unique identifier for the tab whose settings should be retrieved.","type":"string","enum":["general","gateways","taxes","emails","integrations","privacy","misc","tools","pdf-invoices"],"required":true},"section":{"description":"The section in the tab whose settings should be retrieved.","type":"string","required":true}}}]},"\/wpi\/v1\/settings\/batch":{"namespace":"wpi\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"Setting ID.","type":"string","required":false},"value":{"description":"The current value of this setting.","type":"mixed","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/wpi\/v1\/settings\/batch"}]}},"\/getpaid\/v1\/reports":{"namespace":"getpaid\/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"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/getpaid\/v1\/reports"}]}},"\/invoicing\/v1\/reports":{"namespace":"invoicing\/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"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/invoicing\/v1\/reports"}]}},"\/wpi\/v1\/reports":{"namespace":"wpi\/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"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/wpi\/v1\/reports"}]}},"\/getpaid\/v1\/reports\/sales":{"namespace":"getpaid\/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"],"default":"view","required":false},"period":{"description":"Limit to results of a specific period.","type":"string","enum":["custom","today","yesterday","week","last_week","7_days","30_days","60_days","90_days","180_days","month","last_month","quarter","last_quarter","year","last_year","quarter","last_quarter"],"default":"7_days","required":false},"after":{"description":"Limit to results after a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-05","required":false},"before":{"description":"Limit to results before a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-12","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/getpaid\/v1\/reports\/sales"}]}},"\/invoicing\/v1\/reports\/sales":{"namespace":"invoicing\/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"],"default":"view","required":false},"period":{"description":"Limit to results of a specific period.","type":"string","enum":["custom","today","yesterday","week","last_week","7_days","30_days","60_days","90_days","180_days","month","last_month","quarter","last_quarter","year","last_year","quarter","last_quarter"],"default":"7_days","required":false},"after":{"description":"Limit to results after a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-05","required":false},"before":{"description":"Limit to results before a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-12","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/invoicing\/v1\/reports\/sales"}]}},"\/wpi\/v1\/reports\/sales":{"namespace":"wpi\/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"],"default":"view","required":false},"period":{"description":"Limit to results of a specific period.","type":"string","enum":["custom","today","yesterday","week","last_week","7_days","30_days","60_days","90_days","180_days","month","last_month","quarter","last_quarter","year","last_year","quarter","last_quarter"],"default":"7_days","required":false},"after":{"description":"Limit to results after a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-05","required":false},"before":{"description":"Limit to results before a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-12","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/wpi\/v1\/reports\/sales"}]}},"\/getpaid\/v1\/reports\/top_sellers":{"namespace":"getpaid\/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"],"default":"view","required":false},"period":{"description":"Limit to results of a specific period.","type":"string","enum":["custom","today","yesterday","week","last_week","7_days","30_days","60_days","90_days","180_days","month","last_month","quarter","last_quarter","year","last_year","quarter","last_quarter"],"default":"7_days","required":false},"after":{"description":"Limit to results after a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-05","required":false},"before":{"description":"Limit to results before a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-12","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/getpaid\/v1\/reports\/top_sellers"}]}},"\/invoicing\/v1\/reports\/top_sellers":{"namespace":"invoicing\/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"],"default":"view","required":false},"period":{"description":"Limit to results of a specific period.","type":"string","enum":["custom","today","yesterday","week","last_week","7_days","30_days","60_days","90_days","180_days","month","last_month","quarter","last_quarter","year","last_year","quarter","last_quarter"],"default":"7_days","required":false},"after":{"description":"Limit to results after a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-05","required":false},"before":{"description":"Limit to results before a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-12","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/invoicing\/v1\/reports\/top_sellers"}]}},"\/wpi\/v1\/reports\/top_sellers":{"namespace":"wpi\/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"],"default":"view","required":false},"period":{"description":"Limit to results of a specific period.","type":"string","enum":["custom","today","yesterday","week","last_week","7_days","30_days","60_days","90_days","180_days","month","last_month","quarter","last_quarter","year","last_year","quarter","last_quarter"],"default":"7_days","required":false},"after":{"description":"Limit to results after a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-05","required":false},"before":{"description":"Limit to results before a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-12","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/wpi\/v1\/reports\/top_sellers"}]}},"\/getpaid\/v1\/reports\/top_earners":{"namespace":"getpaid\/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"],"default":"view","required":false},"period":{"description":"Limit to results of a specific period.","type":"string","enum":["custom","today","yesterday","week","last_week","7_days","30_days","60_days","90_days","180_days","month","last_month","quarter","last_quarter","year","last_year","quarter","last_quarter"],"default":"7_days","required":false},"after":{"description":"Limit to results after a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-05","required":false},"before":{"description":"Limit to results before a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-12","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/getpaid\/v1\/reports\/top_earners"}]}},"\/invoicing\/v1\/reports\/top_earners":{"namespace":"invoicing\/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"],"default":"view","required":false},"period":{"description":"Limit to results of a specific period.","type":"string","enum":["custom","today","yesterday","week","last_week","7_days","30_days","60_days","90_days","180_days","month","last_month","quarter","last_quarter","year","last_year","quarter","last_quarter"],"default":"7_days","required":false},"after":{"description":"Limit to results after a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-05","required":false},"before":{"description":"Limit to results before a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-12","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/invoicing\/v1\/reports\/top_earners"}]}},"\/wpi\/v1\/reports\/top_earners":{"namespace":"wpi\/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"],"default":"view","required":false},"period":{"description":"Limit to results of a specific period.","type":"string","enum":["custom","today","yesterday","week","last_week","7_days","30_days","60_days","90_days","180_days","month","last_month","quarter","last_quarter","year","last_year","quarter","last_quarter"],"default":"7_days","required":false},"after":{"description":"Limit to results after a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-05","required":false},"before":{"description":"Limit to results before a specific date, the date needs to be in the YYYY-MM-DD format.","type":"string","default":"2024-05-12","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/wpi\/v1\/reports\/top_earners"}]}},"\/getpaid\/v1\/reports\/invoices\/counts":{"namespace":"getpaid\/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"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/getpaid\/v1\/reports\/invoices\/counts"}]}},"\/invoicing\/v1\/reports\/invoices\/counts":{"namespace":"invoicing\/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"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/invoicing\/v1\/reports\/invoices\/counts"}]}},"\/wpi\/v1\/reports\/invoices\/counts":{"namespace":"wpi\/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"],"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/wpi\/v1\/reports\/invoices\/counts"}]}},"\/ayecode-connect\/v1":{"namespace":"ayecode-connect\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"ayecode-connect\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ayecode-connect\/v1"}]}},"\/ayecode-connect\/v1\/do_action":{"namespace":"ayecode-connect\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET","POST","PUT","PATCH","DELETE"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ayecode-connect\/v1\/do_action"}]}},"\/ayecode-connect\/v1\/test-connection":{"namespace":"ayecode-connect\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/ayecode-connect\/v1\/test-connection"}]}},"\/oembed\/1.0\/embed\/activity":{"namespace":"oembed\/1.0","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"url":{"required":true},"format":{"default":"json","required":false},"maxwidth":{"default":600,"required":false},"hide_media":{"default":false,"required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/oembed\/1.0\/embed\/activity"}]}},"\/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:\/\/topsleeps.com\/wp-json\/elementor\/v1"}]}},"\/elementor\/v1\/site-editor":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/wp-json\/elementor\/v1\/site-editor\/templates-conditions-conflicts"}]}},"\/objectcache\/v1":{"namespace":"objectcache\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"objectcache\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/objectcache\/v1"}]}},"\/objectcache\/v1\/analytics":{"namespace":"objectcache\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["raw","compute"],"default":"compute","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":30,"minimum":1,"maximum":100,"required":false},"interval":{"description":"The interval in seconds.","type":"integer","minimum":1,"default":60,"required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/objectcache\/v1\/analytics"}]}},"\/objectcache\/v1\/groups":{"namespace":"objectcache\/v1","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":[]},{"methods":["DELETE"],"args":{"group":{"description":"The cache group name.","type":"string","required":false},"count":{"description":"The count of the group keys.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/objectcache\/v1\/groups"}]}},"\/objectcache\/v1\/latency":{"namespace":"objectcache\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/objectcache\/v1\/latency"}]}},"\/objectcache\/v1\/options":{"namespace":"objectcache\/v1","methods":["GET","POST","PUT","PATCH"],"endpoints":[{"methods":["GET"],"args":{"channel":{"description":"The update channel acts as a \"minimum stability\", meaning that using the Alpha channel will also show the latest Beta releases and so on, whichever has the highest version number. Using an update channel other than Stable may break your site.","type":"string","enum":["stable","rc","beta","alpha","dev"],"required":false},"flushlog":{"description":"Whether to keep a log of cache flushes. Ignored when debug mode is enabled.","type":"boolean","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"channel":{"description":"The update channel acts as a \"minimum stability\", meaning that using the Alpha channel will also show the latest Beta releases and so on, whichever has the highest version number. Using an update channel other than Stable may break your site.","type":"string","enum":["stable","rc","beta","alpha","dev"],"required":false},"flushlog":{"description":"Whether to keep a log of cache flushes. Ignored when debug mode is enabled.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/objectcache\/v1\/options"}]}},"\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/wp-json\/google-site-kit\/v1\/core\/user\/data\/disconnect"}]}},"\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismiss-item"}]}},"\/google-site-kit\/v1\/core\/user\/data\/permissions":{"namespace":"google-site-kit\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/wp-json\/elementor\/v1\/globals"}]}},"\/elementor\/v1\/globals\/colors":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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":"Scope under which the request is made; determines fields present in response.","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":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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","geodirectory","geodirectory-archive","geodirectory-archive-item","landing-page","popup","header","footer","single","single-post","single-page","archive","search-results","error-404","loop-item"],"required":true},"content":{"description":"Elementor data object","type":"object","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/wp-json\/elementor-pro\/v1"}]}},"\/elementor-pro\/v1\/posts-widget":{"namespace":"elementor-pro\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/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":"Scope under which the request is made; determines fields present in response.","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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/wp-json\/elementor\/v1\/form-submissions\/restore"}]}},"\/elementor\/v1\/form-submissions\/export":{"namespace":"elementor\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/wp-json\/elementor\/v1\/forms"}]}},"\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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:\/\/topsleeps.com\/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}}}]},"\/elementor\/v1\/send-event":{"namespace":"elementor\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","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":100,"required":false},"search":{"description":"Limit results to those matching a string.","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:\/\/topsleeps.com\/wp-json\/elementor\/v1\/send-event"}]}},"\/buddyboss\/v1":{"namespace":"buddyboss\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"buddyboss\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1"}]}},"\/buddyboss\/v1\/moderation":{"namespace":"buddyboss\/v1","methods":["GET","POST"],"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.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"item_id":{"description":"Get the result by reported item.","type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","default":"desc","type":"string","enum":["asc","desc"],"required":false},"order_by":{"description":"Column name to order the results by.","default":"last_updated","type":"string","enum":["id","item_type","item_id","last_updated","hide_sitewide"],"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"include":{"description":"Ensure result set includes specific IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"reporters":{"description":"Whether to show the reporter ids or not.","default":false,"type":"boolean","required":false},"status":{"description":"Whether to show the blocked or suspended. 0-Blocked, 1-Suspended","type":"boolean","required":false},"blog_id":{"description":"Fetch the data for specific blog ID.","type":"integer","required":false}}},{"methods":["POST"],"args":{"item_id":{"description":"Item ID which needs to be blocked.","type":"integer","required":true},"type":{"default":"user","description":"Item type for the block.","type":"string","enum":["user"],"required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/moderation"}]}},"\/buddyboss\/v1\/moderation\/(?P[\\d]+)":{"namespace":"buddyboss\/v1","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"A unique numeric ID for the moderation.","type":"integer","required":true}}},{"methods":["DELETE"],"args":{"id":{"description":"A unique numeric ID for the moderation.","type":"integer","required":true}}}]},"\/buddyboss\/v1\/moderation\/report":{"namespace":"buddyboss\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view"],"default":"view","required":false}}},{"methods":["POST"],"args":{"context":{"enum":["edit"],"required":false},"report_category":{"description":"Report Content","type":"string","enum":["46","43","44","42","45","other"],"required":true},"note":{"description":"User Notes for the other type of report.","type":"string","default":"","required":false},"item_id":{"description":"Unique identifier for the content to report.","type":"integer","required":true},"item_type":{"description":"Component type to report.","type":"string","enum":["user_report","activity","activity_comment","groups","forum","forum_topic","forum_reply","document","media","video","comment"],"required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/moderation\/report"}]}},"\/buddyboss\/v1\/components":{"namespace":"buddyboss\/v1","methods":["GET","POST","PUT","PATCH"],"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},"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},"status":{"description":"Limit result set to items with a specific status.","default":"all","type":"string","enum":["all","active","inactive"],"required":false},"type":{"description":"Limit result set to items with a specific type.","default":"all","type":"string","enum":["all","optional","retired","required"],"required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"name":{"type":"string","description":"Name of the component.","required":true},"action":{"description":"Whether to activate or deactivate the component.","type":"string","enum":["activate","deactivate"],"required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/components"}]}},"\/buddyboss\/v1\/settings":{"namespace":"buddyboss\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/settings"}]}},"\/buddyboss\/v1\/members":{"namespace":"buddyboss\/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","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},"type":{"description":"Shorthand for certain orderby\/order combinations.","default":"newest","type":"string","enum":["active","newest","alphabetical","random","online","popular","include"],"required":false},"user_id":{"description":"Limit results to friends of a user.","default":0,"type":"integer","required":false},"user_ids":{"description":"Pass IDs of users to limit result set.","default":[],"type":"array","items":{"type":"integer"},"required":false},"include":{"description":"Ensure result set includes specific IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"member_type":{"description":"Limit results set to certain type(s).","default":[],"type":"array","items":{"type":"string"},"required":false},"xprofile":{"description":"Limit results set to a certain xProfile field.","default":"","type":"string","required":false},"bp_ps_search":{"description":"Profile Search form field data(s).","default":[],"type":"object","required":false},"scope":{"description":"Limit result set to items with a specific scope.","type":"string","default":"all","enum":["all","personal","following","followers"],"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"name":{"description":"Display name for the member.","type":"string","required":false},"user_login":{"description":"An alphanumeric identifier for the Member.","type":"string","required":true},"password":{"description":"Password for the member (never included).","type":"string","required":true},"roles":{"description":"Roles assigned to the member.","type":"array","items":{"type":"string"},"required":false},"types":{"description":"Set type(s) for a member.","type":"string","enum":{"user":"user","business":"business","support":"support"},"required":false},"email":{"description":"The email address for the member.","type":"string","format":"email","required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/members"}]}},"\/buddyboss\/v1\/members\/(?P[\\d]+)":{"namespace":"buddyboss\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the user.","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}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"Unique identifier for the user.","type":"integer","required":false},"name":{"description":"Display name for the member.","type":"string","required":false},"roles":{"description":"Roles assigned to the member.","type":"array","items":{"type":"string"},"required":false},"types":{"description":"Set type(s) for a member.","type":"string","enum":{"user":"user","business":"business","support":"support"},"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the Member.","type":"integer","required":true}}}]},"\/buddyboss\/v1\/members\/me":{"namespace":"buddyboss\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"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}}},{"methods":["POST","PUT","PATCH"],"args":{"name":{"description":"Display name for the member.","type":"string","required":false},"roles":{"description":"Roles assigned to the member.","type":"array","items":{"type":"string"},"required":false},"types":{"description":"Set type(s) for a member.","type":"string","enum":{"user":"user","business":"business","support":"support"},"required":false}}},{"methods":["DELETE"],"args":{"force":{"type":"boolean","default":false,"description":"Required to be true, as users do not support trashing.","required":false},"reassign":{"type":"integer","description":"Reassign the deleted user's posts and links to this user ID.","required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/members\/me"}]}},"\/buddyboss\/v1\/members\/me\/permissions":{"namespace":"buddyboss\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/members\/me\/permissions"}]}},"\/buddyboss\/v1\/members\/action\/(?P[\\d]+)":{"namespace":"buddyboss\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"A unique numeric ID for the member.","type":"integer","required":false},"action":{"description":"Action name which you want to perform for the member.","type":"string","enum":["follow","unfollow"],"required":false}}}]},"\/buddyboss\/v1\/members\/presence":{"namespace":"buddyboss\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"ids":{"description":"A unique users IDs of the member.","type":"array","items":{"type":"integer"},"required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/members\/presence"}]}},"\/buddyboss\/v1\/members\/details":{"namespace":"buddyboss\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/members\/details"}]}},"\/buddyboss\/v1\/members\/(?P[\\d]+)\/detail":{"namespace":"buddyboss\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"A unique numeric ID for the member.","type":"integer","required":true}}}]},"\/buddyboss\/v1\/members\/profile-dropdown":{"namespace":"buddyboss\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"default":{"description":"Whichever menu you have to retrieve.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/members\/profile-dropdown"}]}},"\/buddyboss\/v1\/members\/(?P[\\d]+)\/avatar":{"namespace":"buddyboss\/v1","methods":["GET","POST","DELETE"],"endpoints":[{"methods":["GET"],"args":{"user_id":{"description":"A unique numeric ID for the Member.","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},"html":{"description":"Whether to return an HTML element, vs a raw URL to an avatar.","default":false,"type":"boolean","required":false},"alt":{"description":"The alt attribute for the element.","default":"","type":"string","required":false},"no_gravatar":{"description":"Whether to disable the default Gravatar fallback.","default":false,"type":"boolean","required":false}}},{"methods":["POST"],"args":{"user_id":{"description":"A unique numeric ID for the Member.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"user_id":{"description":"A unique numeric ID for the Member.","type":"integer","required":false}}}]},"\/buddyboss\/v1\/subscriptions":{"namespace":"buddyboss\/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","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},"exclude":{"description":"Ensure result set excludes specific IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"include":{"description":"Ensure result set includes specific IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"order":{"description":"Order sort attribute ascending or descending.","default":"desc","type":"string","enum":["asc","desc"],"required":false},"order_by":{"description":"Order by a specific parameter.","default":"date_recorded","type":"string","enum":["id","type","item_id","date_recorded"],"required":false},"blog_id":{"description":"The ID of the current blog site.","default":1,"type":"integer","required":false},"type":{"description":"Limit result set to items with a specific subscription type.","type":"string","enum":["group","forum","topic"],"required":false},"item_id":{"description":"Limit result set to items with a specific prime association ID.","default":0,"type":"integer","required":false},"secondary_id":{"description":"Limit result set to items with a specific secondary association ID.","default":0,"type":"integer","required":false},"status":{"description":"Limit result set to active subscriptions or not.","default":1,"type":"integer","enum":[0,1],"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"blog_id":{"default":1,"description":"The ID of the current blog site.","type":"integer","required":false},"user_id":{"default":0,"description":"The ID of the user who created the subscription.","type":"integer","required":false},"type":{"description":"The type of the subscription.","type":"string","enum":["group","forum","topic"],"required":true},"item_id":{"description":"The ID of subscription item.","type":"integer","required":true},"secondary_item_id":{"description":"ID of the subscription item parent.","type":"integer","required":false},"status":{"description":"Whether to check the subscription is active or not.","type":"integer","default":1,"enum":[0,1],"required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/subscriptions"}]}},"\/buddyboss\/v1\/subscriptions\/(?P[\\d]+)":{"namespace":"buddyboss\/v1","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the Subscription.","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}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the Subscription.","type":"integer","required":false},"blog_id":{"description":"The ID of the current blog site.","type":"integer","required":false},"user_id":{"description":"The ID of the user who created the subscription.","type":"integer","required":false},"type":{"description":"The type of the subscription.","type":"string","enum":["group","forum","topic"],"required":false},"item_id":{"description":"The ID of subscription item.","type":"integer","required":false},"secondary_item_id":{"description":"ID of the subscription item parent.","type":"integer","required":false},"status":{"description":"Whether to check the subscription is active or not.","type":"integer","required":false}}}]},"\/buddyboss\/v1\/subscription-types":{"namespace":"buddyboss\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/subscription-types"}]}},"\/buddyboss\/v1\/reactions":{"namespace":"buddyboss\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/reactions"}]}},"\/buddyboss\/v1\/user-reactions":{"namespace":"buddyboss\/v1","methods":["GET","POST"],"endpoints":[{"methods":["GET"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","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},"reaction_id":{"description":"Limit result set to items with a specific Reaction ID.","type":"integer","enum":[2598,2599,2600,2601,2602,2603],"required":false},"item_type":{"description":"Limit result set to items with a specific item type.","type":"string","enum":["activity","activity_comment"],"required":false},"item_id":{"description":"Limit result set to items with a specific item ID.","default":0,"type":"integer","required":false},"user_id":{"description":"Limit result set to items with a specific user ID.","default":0,"type":"integer","required":false},"order":{"description":"Order sort attribute ascending or descending.","default":"desc","type":"string","enum":["asc","desc"],"required":false},"order_by":{"description":"Order by a specific parameter.","default":"id","type":"string","enum":["id","date_created"],"required":false}}},{"methods":["POST"],"args":{"reaction_id":{"description":"Reaction ID.","type":"integer","enum":[2598,2599,2600,2601,2602,2603],"required":true},"item_type":{"description":"Item type","type":"string","enum":["activity","activity_comment"],"required":true},"item_id":{"description":"Item ID.","type":"integer","required":true},"user_id":{"description":"User ID.","type":"integer","default":0,"required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/user-reactions"}]}},"\/buddyboss\/v1\/user-reactions\/(?P[\\d]+)":{"namespace":"buddyboss\/v1","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"A unique numeric ID for the user reaction.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"A unique numeric ID for the user reaction.","type":"integer","required":false}}}]},"\/buddyboss\/v1\/mention":{"namespace":"buddyboss\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"term":{"description":"Members @name suggestions.","type":"string","required":true},"only_friends":{"description":"Limit result set to Friends only.","type":"boolean","required":false},"group_id":{"description":"A unique numeric ID for the Group. Limit result set to the group.","type":"integer","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/mention"}]}},"\/buddyboss\/v1\/members\/(?P[\\d]+)\/cover":{"namespace":"buddyboss\/v1","methods":["GET","POST","DELETE"],"endpoints":[{"methods":["GET"],"args":{"user_id":{"description":"A unique numeric ID for the User.","type":"integer","required":false}}},{"methods":["POST"],"args":{"user_id":{"description":"A unique numeric ID for the User.","type":"integer","required":false}}},{"methods":["DELETE"],"args":{"user_id":{"description":"A unique numeric ID for the User.","type":"integer","required":false}}}]},"\/buddyboss\/v1\/signup\/form":{"namespace":"buddyboss\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/signup\/form"}]}},"\/buddyboss\/v1\/signup":{"namespace":"buddyboss\/v1","methods":["GET","POST"],"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},"number":{"description":"Total number of signups to return.","default":1,"type":"integer","required":false},"offset":{"description":"Offset the result set by a specific number of items.","default":0,"type":"integer","required":false},"include":{"description":"Ensure result set includes specific IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"order":{"description":"Order sort attribute ascending or descending.","default":"desc","type":"string","enum":["asc","desc"],"required":false},"orderby":{"description":"Order by a specific parameter (default: signup_id).","default":"signup_id","type":"string","required":false},"user_login":{"description":"Specific user login to return.","default":"","type":"string","required":false}}},{"methods":["POST"],"args":{"signup_email":{"description":"New user email address.","type":"string","required":true},"signup_email_confirm":{"description":"New user confirm email address.","type":"string","required":true},"signup_password":{"description":"New user account password.","type":"string","required":true},"signup_password_confirm":{"description":"New user confirm account password.","type":"string","required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/signup"}]}},"\/buddyboss\/v1\/signup\/(?P[\\w-]+)":{"namespace":"buddyboss\/v1","methods":["GET","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"Identifier for the signup. Can be a signup ID, an email address, or a user_login.","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"],"args":{"id":{"description":"Identifier for the signup. Can be a signup ID, an email address, or a user_login.","type":"string","required":false},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"edit","required":false}}}]},"\/buddyboss\/v1\/signup\/activate\/(?P[\\w-]+)":{"namespace":"buddyboss\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"activation_key":{"description":"Activation key of the signup.","type":"string","required":true},"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","edit"],"default":"edit","required":false}}}]},"\/buddyboss\/v1\/xprofile\/fields":{"namespace":"buddyboss\/v1","methods":["GET","POST"],"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.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"profile_group_id":{"description":"ID of the profile group of fields that have profile fields","default":0,"type":"integer","required":false},"hide_empty_groups":{"description":"Whether to hide profile groups of fields that do not have any profile fields or not.","default":false,"type":"boolean","required":false},"user_id":{"description":"Required if you want to load a specific user's data.","default":0,"type":"integer","required":false},"member_type":{"description":"Limit fields by those restricted to a given member type, or array of member types. If `$user_id` is provided, the value of `$member_type` will be overridden by the member types of the provided user. The special value of 'any' will return only those fields that are unrestricted by member type - i.e., those applicable to any type.","default":[],"type":"array","items":{"type":"string"},"required":false},"hide_empty_fields":{"description":"Whether to hide profile fields where the user has not provided data or not.","default":false,"type":"boolean","required":false},"fetch_field_data":{"description":"Whether to fetch data for each field. Requires a $user_id.","default":false,"type":"boolean","required":false},"fetch_visibility_level":{"description":"Whether to fetch the visibility level for each field.","default":false,"type":"boolean","required":false},"exclude_groups":{"description":"Ensure result set excludes specific profile field groups.","default":[],"type":"array","items":{"type":"integer"},"required":false},"exclude_fields":{"description":"Ensure result set excludes specific profile fields.","default":[],"type":"array","items":{"type":"string"},"required":false},"update_meta_cache":{"description":"Whether to pre-fetch xprofilemeta for all retrieved groups, fields, and data.","default":true,"type":"boolean","required":false}}},{"methods":["POST"],"args":{"group_id":{"description":"The ID of the group the field is part of.","type":"integer","required":true},"parent_id":{"description":"The ID of the parent field.","type":"integer","required":false},"type":{"description":"The type for the profile field.","type":"string","enum":["checkbox","datebox","multiselectbox","number","url","radio","selectbox","textarea","textbox","telephone","gender","socialnetworks","membertypes","option"],"required":true},"name":{"description":"The name of the profile field.","type":"string","required":true},"alternate_name":{"default":"","description":"The alternate name of the profile field.","type":"string","required":false},"description":{"description":"The description of the profile field.","type":"string","required":false},"is_required":{"description":"Whether the profile field must have a value.","type":"boolean","required":false},"can_delete":{"default":true,"description":"Whether the profile field can be deleted or not.","type":"boolean","required":false},"field_order":{"description":"The order of the profile field into the group of fields.","type":"integer","required":false},"option_order":{"description":"The order of the option into the profile field list of options","type":"integer","required":false},"order_by":{"default":"asc","description":"The way profile field's options are ordered.","type":"string","enum":["asc","desc"],"required":false},"is_default_option":{"description":"Whether the option is the default one for the profile field.","type":"boolean","required":false},"default_visibility":{"default":"public","description":"Default visibility for the profile field.","type":"string","enum":["public","loggedin","friends","adminsonly"],"required":false},"allow_custom_visibility":{"description":"Whether to allow members to set the visibility for the profile field data or not.","default":"allowed","type":"string","enum":["allowed","disabled"],"required":false},"do_autolink":{"description":"Autolink status for this profile field","default":"off","type":"string","enum":["on","off"],"required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/xprofile\/fields"}]}},"\/buddyboss\/v1\/xprofile\/fields\/(?P[\\d]+)":{"namespace":"buddyboss\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"A unique numeric ID for the profile field.","type":"integer","required":false},"user_id":{"description":"Required if you want to load a specific user's data.","default":0,"type":"integer","required":false},"fetch_field_data":{"description":"Whether to fetch data for the field. Requires a $user_id.","default":true,"type":"boolean","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"A unique numeric ID for the profile field.","type":"integer","required":false},"group_id":{"description":"The ID of the group the field is part of.","type":"integer","required":false},"parent_id":{"description":"The ID of the parent field.","type":"integer","required":false},"type":{"description":"The type for the profile field.","type":"string","enum":["checkbox","datebox","multiselectbox","number","url","radio","selectbox","textarea","textbox","telephone","gender","socialnetworks","membertypes","option"],"required":false},"name":{"description":"The name of the profile field.","type":"string","required":false},"alternate_name":{"description":"The alternate name of the profile field.","type":"string","required":false},"description":{"description":"The description of the profile field.","type":"string","required":false},"is_required":{"description":"Whether the profile field must have a value.","type":"boolean","required":false},"can_delete":{"description":"Whether the profile field can be deleted or not.","type":"boolean","default":true,"required":false},"field_order":{"description":"The order of the profile field into the group of fields.","type":"integer","required":false},"option_order":{"description":"The order of the option into the profile field list of options","type":"integer","required":false},"order_by":{"description":"The way profile field's options are ordered.","type":"string","enum":["asc","desc"],"default":"asc","required":false},"is_default_option":{"description":"Whether the option is the default one for the profile field.","type":"boolean","required":false},"default_visibility":{"description":"Default visibility for the profile field.","type":"string","enum":["public","loggedin","friends","adminsonly"],"default":"public","required":false},"allow_custom_visibility":{"description":"Whether to allow members to set the visibility for the profile field data or not.","default":"allowed","type":"string","enum":["allowed","disabled"],"required":false},"do_autolink":{"description":"Autolink status for this profile field","default":"off","type":"string","enum":["on","off"],"required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"A unique numeric ID for the profile field.","type":"integer","required":false},"delete_data":{"description":"Required if you want to delete users data for the field.","default":false,"type":"boolean","required":false}}}]},"\/buddyboss\/v1\/xprofile\/groups":{"namespace":"buddyboss\/v1","methods":["GET","POST"],"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.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"profile_group_id":{"description":"ID of the field group that have fields.","default":0,"type":"integer","required":false},"hide_empty_groups":{"description":"Whether to hide profile groups of fields that do not have any profile fields or not.","default":false,"type":"boolean","required":false},"user_id":{"description":"Required if you want to load a specific user's data.","default":0,"type":"integer","required":false},"member_type":{"description":"Limit fields by those restricted to a given member type, or array of member types. If `$user_id` is provided, the value of `$member_type` will be overridden by the member types of the provided user. The special value of 'any' will return only those fields that are unrestricted by member type - i.e., those applicable to any type.","default":[],"type":"array","items":{"type":"string"},"required":false},"hide_empty_fields":{"description":"Whether to hide profile groups of fields that do not have any profile fields or not.","default":false,"type":"boolean","required":false},"fetch_fields":{"description":"Whether to fetch the fields for each group.","default":false,"type":"boolean","required":false},"fetch_field_data":{"description":"Whether to fetch data for each field. Requires a $user_id.","default":false,"type":"boolean","required":false},"fetch_visibility_level":{"description":"Whether to fetch the visibility level for each field.","default":false,"type":"boolean","required":false},"exclude_groups":{"description":"Ensure result set excludes specific profile field groups.","default":[],"type":"array","items":{"type":"integer"},"required":false},"exclude_fields":{"description":"Ensure result set excludes specific profile fields.","default":[],"type":"array","items":{"type":"string"},"required":false},"update_meta_cache":{"description":"Whether to pre-fetch xprofilemeta for all retrieved groups, fields, and data.","default":true,"type":"boolean","required":false}}},{"methods":["POST"],"args":{"name":{"description":"The name of group of profile fields.","type":"string","required":false},"description":{"description":"The description of the group of profile fields.","type":"string","required":false},"can_delete":{"description":"Whether the group of profile fields can be deleted or not.","type":"boolean","required":false},"repeater_enabled":{"description":"Whether the group of profile fields can be repeated or not.","type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/xprofile\/groups"}]}},"\/buddyboss\/v1\/xprofile\/groups\/(?P[\\d]+)":{"namespace":"buddyboss\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"A unique numeric ID for the group of profile fields.","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"id":{"description":"A unique numeric ID for the group of profile fields.","type":"integer","required":false},"name":{"description":"The name of group of profile fields.","type":"string","required":false},"description":{"description":"The description of the group of profile fields.","type":"string","required":false},"group_order":{"description":"The order of the group of profile fields.","type":"integer","required":false},"can_delete":{"description":"Whether the group of profile fields can be deleted or not.","type":"boolean","required":false},"repeater_enabled":{"description":"Whether the group of profile fields can be repeated or not.","type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"A unique numeric ID for the group of profile fields.","type":"integer","required":false}}}]},"\/buddyboss\/v1\/xprofile\/(?P[\\d]+)\/data\/(?P[\\d]+)":{"namespace":"buddyboss\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"args":{"field_id":{"description":"The ID of the field the data is from.","type":"integer","required":false},"user_id":{"description":"The ID of user the field data is from.","type":"integer","required":false}}},{"methods":["POST","PUT","PATCH"],"args":{"field_id":{"description":"The ID of the field the data is from.","type":"integer","required":false},"user_id":{"description":"The ID of user the field data is from.","type":"integer","required":false},"value":{"description":"The list of values for the field data.","required":false}}},{"methods":["DELETE"],"args":{"field_id":{"description":"The ID of the field the data is from.","type":"integer","required":false},"user_id":{"description":"The ID of user the field data is from.","type":"integer","required":false}}}]},"\/buddyboss\/v1\/xprofile\/update":{"namespace":"buddyboss\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["edit"],"default":"edit","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},"fields":{"description":"Fields array with field_id, group_id, type, value and visibility_level to update the data.","type":"array","items":{"type":"object"},"default":[{"field_id":"","group_id":"","value":"","visibility_level":""}],"properties":{"field_id":{"description":"The ID of the field the data is from.","type":"integer","required":true,"sanitize_callback":"absint","validate_callback":"rest_validate_request_arg"},"group_id":{"description":"ID of the profile group of fields that have profile fields","default":0,"type":"integer","sanitize_callback":"absint","validate_callback":"rest_validate_request_arg"},"value":{"description":"The value of the field data."},"visibility_level":{"description":"Who may see the saved value for this profile field.","default":"public","type":"string","enum":["public","loggedin","friends","adminsonly"]}},"required":true},"profile_group_id":{"description":"ID of the field group that have fields.","default":0,"type":"integer","required":false},"hide_empty_groups":{"description":"Whether to hide profile groups of fields that do not have any profile fields or not.","default":false,"type":"boolean","required":false},"member_type":{"description":"Limit fields by those restricted to a given member type, or array of member types. If `$user_id` is provided, the value of `$member_type` will be overridden by the member types of the provided user. The special value of 'any' will return only those fields that are unrestricted by member type - i.e., those applicable to any type.","default":[],"type":"array","items":{"type":"string"},"required":false},"hide_empty_fields":{"description":"Whether to hide profile groups of fields that do not have any profile fields or not.","default":false,"type":"boolean","required":false},"fetch_fields":{"description":"Whether to fetch the fields for each group.","default":true,"type":"boolean","required":false},"fetch_field_data":{"description":"Whether to fetch data for each field. Requires a $user_id.","default":true,"type":"boolean","required":false},"fetch_visibility_level":{"description":"Whether to fetch the visibility level for each field.","default":true,"type":"boolean","required":false},"exclude_groups":{"description":"Ensure result set excludes specific profile field groups.","default":[],"type":"array","items":{"type":"integer"},"required":false},"exclude_fields":{"description":"Ensure result set excludes specific profile fields.","default":[],"type":"array","items":{"type":"string"},"required":false},"update_meta_cache":{"description":"Whether to pre-fetch xprofilemeta for all retrieved groups, fields, and data.","default":true,"type":"boolean","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/xprofile\/update"}]}},"\/buddyboss\/v1\/xprofile\/repeater\/(?P[\\d]+)":{"namespace":"buddyboss\/v1","methods":["POST","DELETE"],"endpoints":[{"methods":["POST"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"edit","required":false},"id":{"description":"A unique numeric ID for the group of profile fields.","type":"integer","required":false},"fetch_fields":{"description":"Whether to fetch the fields for each group.","default":true,"type":"boolean","required":false},"fetch_field_data":{"description":"Whether to fetch data for each field. Requires a $user_id.","default":true,"type":"boolean","required":false},"fetch_visibility_level":{"description":"Whether to fetch the visibility level for each field.","default":true,"type":"boolean","required":false}}},{"methods":["DELETE"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"edit","required":false},"id":{"description":"A unique numeric ID for the group of profile fields.","type":"integer","required":false},"fetch_fields":{"description":"Whether to fetch the fields for each group.","default":true,"type":"boolean","required":false},"fetch_field_data":{"description":"Whether to fetch data for each field. Requires a $user_id.","default":true,"type":"boolean","required":false},"fetch_visibility_level":{"description":"Whether to fetch the visibility level for each field.","default":true,"type":"boolean","required":false},"fields":{"description":"Pass Field IDs which you want to delete it.","type":"array","items":{"type":"integer"},"required":true}}}]},"\/buddyboss\/v1\/xprofile\/repeater\/order\/(?P[\\d]+)":{"namespace":"buddyboss\/v1","methods":["POST","PUT","PATCH"],"endpoints":[{"methods":["POST","PUT","PATCH"],"args":{"context":{"description":"Scope under which the request is made; determines fields present in response.","type":"string","enum":["view","embed","edit"],"default":"edit","required":false},"id":{"description":"A unique numeric ID for the group of profile fields.","type":"integer","required":false},"fetch_fields":{"description":"Whether to fetch the fields for each group.","default":true,"type":"boolean","required":false},"fetch_field_data":{"description":"Whether to fetch data for each field. Requires a $user_id.","default":true,"type":"boolean","required":false},"fetch_visibility_level":{"description":"Whether to fetch the visibility level for each field.","default":true,"type":"boolean","required":false},"fields":{"description":"Fields array with order of field set with field ID and value to reorder.","type":"array","items":{"type":"object"},"required":true}}}]},"\/buddyboss\/v1\/xprofile\/search":{"namespace":"buddyboss\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"form_id":{"description":"ID of the profile search form.","type":"string","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/xprofile\/search"}]}},"\/buddyboss\/v1\/xprofile\/types":{"namespace":"buddyboss\/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}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/xprofile\/types"}]}},"\/buddyboss\/v1\/video\/upload":{"namespace":"buddyboss\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"allow_batch":{"v1":true},"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/video\/upload"}]}},"\/buddyboss\/v1\/video":{"namespace":"buddyboss\/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","embed","edit"],"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},"order":{"description":"Order sort attribute ascending or descending.","default":"desc","type":"string","enum":["asc","desc"],"required":false},"orderby":{"description":"Order by a specific parameter.","default":"date_created","type":"string","enum":["date_created","menu_order","id","include"],"required":false},"user_id":{"description":"Limit result set to items created by a specific user.","default":0,"type":"integer","required":false},"max":{"description":"Maximum number of results to return.","type":"integer","required":false},"album_id":{"description":"A unique numeric ID for the Album.","type":"integer","required":false},"group_id":{"description":"A unique numeric ID for the Group.","type":"integer","required":false},"activity_id":{"description":"A unique numeric ID for the Video's Activity.","type":"integer","required":false},"privacy":{"description":"Privacy of the video.","type":"array","items":{"enum":["public","loggedin","onlyme","friends","grouponly"],"type":"string"},"required":false},"scope":{"description":"Scope of the video.","type":"array","items":{"enum":["friends","groups","personal"],"type":"string"},"required":false},"include":{"description":"Ensure result set includes specific IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"exclude":{"description":"Ensure result set excludes specific video IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"count_total":{"description":"Show total count or not.","default":true,"type":"boolean","required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"upload_ids":{"description":"Video specific IDs.","default":[],"type":"array","items":{"type":"integer"},"required":true},"activity_id":{"description":"A unique numeric ID for the activity.","type":"integer","required":false},"group_id":{"description":"A unique numeric ID for the Group.","type":"integer","required":false},"album_id":{"description":"A unique numeric ID for the Video Album.","type":"integer","required":false},"privacy":{"description":"Privacy of the video.","type":"string","enum":["public","loggedin","onlyme","friends","grouponly"],"default":"public","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/video"}]}},"\/buddyboss\/v1\/video\/(?P[\\d]+)":{"namespace":"buddyboss\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the video.","type":"integer","required":true}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the video.","type":"integer","required":true},"group_id":{"description":"A unique numeric ID for the Group.","type":"integer","required":false},"album_id":{"description":"A unique numeric ID for the Video Album.","type":"integer","required":false},"privacy":{"description":"Privacy of the video.","type":"string","enum":["public","loggedin","onlyme","friends","grouponly"],"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the video.","type":"integer","required":true}}}]},"\/buddyboss\/v1\/video\/(?P[\\d]+)\/upload_poster":{"namespace":"buddyboss\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}]},"\/buddyboss\/v1\/video\/(?P[\\d]+)\/poster":{"namespace":"buddyboss\/v1","methods":["GET","POST","DELETE"],"endpoints":[{"methods":["GET"],"args":{"id":{"description":"A unique numeric ID for the video.","type":"integer","required":true}}},{"methods":["POST"],"args":{"id":{"description":"A unique numeric ID for the video.","type":"integer","required":true},"attachment_id":{"description":"A Unique numeric ID for the video poster.","type":"integer","required":false},"file":{"description":"File path for video poster.","type":"string","required":false}}},{"methods":["DELETE"],"args":{"id":{"description":"A unique numeric ID for the video.","type":"integer","required":true},"attachment_id":{"description":"A Unique numeric ID for the video poster.","type":"integer","required":true}}}]},"\/buddyboss\/v1\/video\/details":{"namespace":"buddyboss\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/video\/details"}]}},"\/buddyboss\/v1\/media":{"namespace":"buddyboss\/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","embed","edit"],"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},"order":{"description":"Order sort attribute ascending or descending.","default":"desc","type":"string","enum":["asc","desc"],"required":false},"orderby":{"description":"Order media by which attribute.","default":"date_created","type":"string","enum":["date_created","menu_order","id","include"],"required":false},"user_id":{"description":"Limit results to friends of a user.","default":0,"type":"integer","required":false},"max":{"description":"Maximum number of results to return","type":"integer","required":false},"album_id":{"description":"A unique numeric ID for the Album.","type":"integer","required":false},"group_id":{"description":"A unique numeric ID for the Group.","type":"integer","required":false},"activity_id":{"description":"A unique numeric ID for the Media's Activity.","type":"integer","required":false},"privacy":{"description":"Privacy of the media.","type":"array","items":{"enum":["public","loggedin","onlyme","friends","grouponly"],"type":"string"},"required":false},"scope":{"description":"Scope of the media.","type":"array","items":{"enum":["friends","groups","personal"],"type":"string"},"required":false},"include":{"description":"Ensure result set includes specific IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"exclude":{"description":"Ensure result set excludes specific media IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"count_total":{"description":"Show total count or not.","default":true,"type":"boolean","required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"upload_ids":{"description":"Media specific IDs.","default":[],"type":"array","items":{"type":"integer"},"required":true},"activity_id":{"description":"A unique numeric ID for the activity.","type":"integer","required":false},"group_id":{"description":"A unique numeric ID for the Group.","type":"integer","required":false},"album_id":{"description":"A unique numeric ID for the Media Album.","type":"integer","required":false},"privacy":{"description":"Privacy of the media.","type":"string","enum":["public","loggedin","onlyme","friends","grouponly"],"default":"public","required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"media_ids":{"description":"A unique numeric IDs for the media.","type":"array","items":{"type":"integer"},"required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/media"}]}},"\/buddyboss\/v1\/media\/(?P[\\d]+)":{"namespace":"buddyboss\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the media.","type":"integer","required":true}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the media.","type":"integer","required":true},"group_id":{"description":"A unique numeric ID for the Group.","type":"integer","required":false},"album_id":{"description":"A unique numeric ID for the Media Album.","type":"integer","required":false},"privacy":{"description":"Privacy of the media.","type":"string","enum":["public","loggedin","onlyme","friends","grouponly"],"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the media.","type":"integer","required":true}}}]},"\/buddyboss\/v1\/media\/upload":{"namespace":"buddyboss\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"allow_batch":{"v1":true},"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/media\/upload"}]}},"\/buddyboss\/v1\/media\/albums":{"namespace":"buddyboss\/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","embed","edit"],"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},"order":{"description":"Order sort attribute ascending or descending.","default":"desc","type":"string","enum":["asc","desc"],"required":false},"orderby":{"description":"Order albums by which attribute.","default":"date_created","type":"string","enum":["date_created","menu_order"],"required":false},"max":{"description":"Maximum number of results to return","type":"integer","required":false},"user_id":{"description":"Limit results to friends of a user.","default":0,"type":"integer","required":false},"group_id":{"description":"A unique numeric ID for the Group.","type":"integer","required":false},"privacy":{"description":"The privacy of album.","default":"public","enum":["public","loggedin","friends","onlyme","grouponly"],"type":"string","required":false},"include":{"description":"Ensure result set includes specific IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"exclude":{"description":"Ensure result set excludes specific IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"count_total":{"description":"Show total count or not.","default":true,"type":"boolean","required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"title":{"description":"New Album Title.","type":"string","required":true},"privacy":{"description":"A unique numeric ID for the Media Album.","type":"string","default":"public","enum":["public","loggedin","friends","onlyme","grouponly"],"required":false},"group_id":{"description":"A unique numeric ID for the Group.","type":"integer","required":false},"user_id":{"description":"The ID for the author of the Album.","type":"integer","required":false},"upload_ids":{"description":"Media specific IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/media\/albums"}]}},"\/buddyboss\/v1\/media\/albums\/(?P[\\d]+)":{"namespace":"buddyboss\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the album.","type":"integer","required":true},"media_page":{"description":"Current page of Album Medias.","type":"integer","default":1,"minimum":1,"required":false},"media_per_page":{"description":"Maximum number of medias to be returned in result set.","type":"integer","default":10,"minimum":1,"maximum":100,"required":false}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the album.","type":"integer","required":true},"title":{"description":"New Album Title.","type":"string","required":false},"privacy":{"description":"A unique numeric ID for the Media Album.","type":"string","default":"public","enum":["public","loggedin","friends","onlyme","grouponly"],"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the album.","type":"integer","required":true}}}]},"\/buddyboss\/v1\/media\/details":{"namespace":"buddyboss\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/media\/details"}]}},"\/buddyboss\/v1\/media\/move":{"namespace":"buddyboss\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":{"media_ids":{"description":"Media specific IDs.","default":[],"type":"array","items":{"type":"integer"},"required":true},"group_id":{"description":"A unique numeric ID for the Group.","type":"integer","required":false},"album_id":{"description":"A unique numeric ID for the Media Album.","type":"integer","required":true}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/media\/move"}]}},"\/buddyboss\/v1\/document\/upload":{"namespace":"buddyboss\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"allow_batch":{"v1":true},"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/document\/upload"}]}},"\/buddyboss\/v1\/document":{"namespace":"buddyboss\/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","embed","edit"],"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},"order":{"description":"Order sort attribute ascending or descending.","default":"asc","type":"string","enum":["asc","desc"],"required":false},"orderby":{"description":"Order documents by which attribute.","default":"title","type":"string","enum":["title","date_created","date_modified","group_id","privacy","id","include"],"required":false},"max":{"description":"Maximum number of results to return","type":"integer","required":false},"scope":{"description":"Scope of the Document.","type":"array","items":{"enum":["public","friends","groups","personal"],"type":"string"},"required":false},"user_id":{"description":"Limit results to a specific user.","default":0,"type":"integer","required":false},"folder_id":{"description":"A unique numeric ID for the Folder.","type":"integer","required":false},"group_id":{"description":"A unique numeric ID for the Group.","type":"integer","required":false},"activity_id":{"description":"A unique numeric ID for the Document's Activity.","type":"integer","required":false},"privacy":{"description":"Privacy of the Document.","type":"array","items":{"enum":["public","loggedin","friends","onlyme","grouponly"],"type":"string"},"required":false},"include":{"description":"Ensure result set includes specific document IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"exclude":{"description":"Ensure result set excludes specific document IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"count_total":{"description":"Show total count or not.","default":true,"type":"boolean","required":false},"type":{"description":"Type of document.","default":"both","type":"string","enum":["both","document","folder"],"required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"document_ids":{"description":"Document specific IDs.","default":[],"type":"array","items":{"type":"integer"},"required":true},"activity_id":{"description":"A unique numeric ID for the activity.","type":"integer","required":false},"content":{"description":"Document Content.","type":"string","required":false},"group_id":{"description":"A unique numeric ID for the Group.","type":"integer","required":false},"folder_id":{"description":"A unique numeric ID for the Document Folder.","type":"integer","required":false},"privacy":{"description":"Privacy of the document.","type":"string","enum":["public","loggedin","friends","onlyme","grouponly"],"default":"public","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/document"}]}},"\/buddyboss\/v1\/document\/(?P[\\d]+)":{"namespace":"buddyboss\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the document.","type":"integer","required":true}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the document.","type":"integer","required":true},"content":{"description":"Document Content.","type":"string","required":false},"group_id":{"description":"A unique numeric ID for the Group.","type":"integer","required":false},"folder_id":{"description":"A unique numeric ID for the Document Folder.","type":"integer","required":false},"privacy":{"description":"Privacy of the document.","type":"string","enum":["public","loggedin","friends","onlyme","grouponly"],"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the document.","type":"integer","required":true}}}]},"\/buddyboss\/v1\/document\/folder":{"namespace":"buddyboss\/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","embed","edit"],"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},"order":{"description":"Order sort attribute ascending or descending.","default":"desc","type":"string","enum":["asc","desc"],"required":false},"orderby":{"description":"Order folders by which attribute.","default":"date_created","type":"string","enum":["id","title","date_created","user_id","group_id","privacy"],"required":false},"max":{"description":"Maximum number of results to return","type":"integer","required":false},"user_id":{"description":"Limit results to a specific user.","default":0,"type":"integer","required":false},"parent":{"description":"A unique numeric ID for the parent Folder.","type":"integer","required":false},"group_id":{"description":"A unique numeric ID for the Group.","type":"integer","required":false},"privacy":{"description":"Privacy of the folder.","type":"array","items":{"enum":["public","loggedin","friends","onlyme","grouponly"],"type":"string"},"required":false},"include":{"description":"Ensure result set includes specific folder IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"exclude":{"description":"Ensure result set excludes specific folder IDs.","default":[],"type":"array","items":{"type":"integer"},"required":false},"count_total":{"description":"Show total count or not.","default":true,"type":"boolean","required":false}}},{"methods":["POST"],"allow_batch":{"v1":true},"args":{"title":{"description":"Folder Title.","type":"string","required":true},"parent":{"description":"A unique numeric ID for the parent folder.","type":"integer","required":false},"group_id":{"description":"A unique numeric ID for the Group.","type":"integer","required":false},"privacy":{"description":"Privacy of the folder.","type":"string","enum":["public","loggedin","friends","onlyme","grouponly"],"default":"public","required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/document\/folder"}]}},"\/buddyboss\/v1\/document\/folder\/(?P[\\d]+)":{"namespace":"buddyboss\/v1","methods":["GET","POST","PUT","PATCH","DELETE"],"endpoints":[{"methods":["GET"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the folder.","type":"integer","required":true}}},{"methods":["POST","PUT","PATCH"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the folder","type":"integer","required":true},"title":{"description":"Folder Title.","type":"string","required":false},"parent":{"description":"A unique numeric ID for the parent folder.","type":"integer","required":false},"group_id":{"description":"A unique numeric ID for the Group.","type":"integer","required":false},"privacy":{"description":"Privacy of the folder.","type":"string","enum":["public","loggedin","friends","onlyme","grouponly"],"required":false}}},{"methods":["DELETE"],"allow_batch":{"v1":true},"args":{"id":{"description":"A unique numeric ID for the folder.","type":"integer","required":true}}}]},"\/buddyboss\/v1\/document\/folder\/tree":{"namespace":"buddyboss\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"group_id":{"description":"A unique numeric ID for the Group.","type":"integer","required":false},"hierarchical":{"description":"Whether to retrieve as a hierarchical or not.","type":"boolean","default":true,"required":false}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/document\/folder\/tree"}]}},"\/buddyboss\/v1\/document\/details":{"namespace":"buddyboss\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/document\/details"}]}},"\/buddyboss\/v1\/account-settings":{"namespace":"buddyboss\/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}}}],"_links":{"self":[{"href":"https:\/\/topsleeps.com\/wp-json\/buddyboss\/v1\/account-settings"}]}},"\/buddyboss\/v1\/account-settings\/(?P