{"name":"Bricks Academy","description":"","url":"https:\/\/academy.bricksbuilder.io","home":"https:\/\/academy.bricksbuilder.io","gmt_offset":"0","timezone_string":"","page_for_posts":0,"page_on_front":127,"show_on_front":"page","namespaces":["oembed\/1.0","bricksacademy","simple-history\/v1","bricks\/v1","wp\/v2","wp-site-health\/v1","wp-block-editor\/v1","wp-abilities\/v1"],"authentication":{"application-passwords":{"endpoints":{"authorization":"https:\/\/academy.bricksbuilder.io\/wp-admin\/authorize-application.php"}}},"routes":{"\/":{"namespace":"","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/"}]}},"\/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:\/\/academy.bricksbuilder.io\/api\/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:\/\/academy.bricksbuilder.io\/api\/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:\/\/academy.bricksbuilder.io\/api\/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:\/\/academy.bricksbuilder.io\/api\/oembed\/1.0\/proxy"}]}},"\/bricksacademy":{"namespace":"bricksacademy","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"bricksacademy","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/bricksacademy"}]}},"\/bricksacademy\/articles":{"namespace":"bricksacademy","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/bricksacademy\/articles"}]}},"\/bricksacademy\/topics":{"namespace":"bricksacademy","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/bricksacademy\/topics"}]}},"\/bricksacademy\/all":{"namespace":"bricksacademy","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/bricksacademy\/all"}]}},"\/bricksacademy\/helpscout":{"namespace":"bricksacademy","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/bricksacademy\/helpscout"}]}},"\/bricksacademy\/content":{"namespace":"bricksacademy","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/bricksacademy\/content"}]}},"\/simple-history\/v1":{"namespace":"simple-history\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"default":"simple-history\/v1","required":false},"context":{"default":"view","required":false}}}],"_links":{"self":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/simple-history\/v1"}]}},"\/simple-history\/v1\/email-report\/preview\/email":{"namespace":"simple-history\/v1","methods":["POST","GET"],"endpoints":[{"methods":["POST","GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/simple-history\/v1\/email-report\/preview\/email"}]}},"\/simple-history\/v1\/email-report\/preview\/html":{"namespace":"simple-history\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/simple-history\/v1\/email-report\/preview\/html"}]}},"\/simple-history\/v1\/events":{"namespace":"simple-history\/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},"search":{"description":"Limit results to those matching a string.","type":"string","required":false},"type":{"description":"Type of result to return.","type":"string","default":"overview","enum":["overview","occasions"],"required":false},"logRowID":{"description":"Limit result set to rows with id lower than this.","type":"integer","required":false},"occasionsID":{"description":"Limit result set to rows with occasionsID equal to this.","type":"string","required":false},"occasionsCount":{"description":"The number of occasions to get.","type":"integer","required":false},"occasionsCountMaxReturn":{"description":"The max number of occasions to return.","type":"integer","required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":null,"required":false},"max_id_first_page":{"description":"Limit result set to rows with id equal or lower than this.","type":"integer","required":false},"since_id":{"description":"Limit result set to rows with id greater than this, i.e. more recent than since_id.","type":"integer","required":false},"since_date":{"description":"Limit result set to events with date > since_date OR (date = since_date AND id > since_id). Use together with since_id for accurate new event detection.","type":"string","format":"date-time","required":false},"date_from":{"description":"Limit result set to rows with date greater than or equal to this unix timestamp.","type":"string","required":false},"date_to":{"description":"Limit result set to rows with date less than or equal to this unix timestamp.","type":"string","required":false},"dates":{"description":"Limit result set to rows with date within this range.","type":"array","items":{"type":"string"},"required":false},"lastdays":{"description":"Limit result set to rows with date within this range.","type":"integer","required":false},"months":{"description":"Limit result set to rows with date within this range. Format: Y-m.","type":"array","items":{"type":"string"},"required":false},"loglevels":{"description":"Limit result set to rows with log levels.","type":"array","items":{"type":"string"},"required":false},"loggers":{"description":"Limit result set to rows with loggers.","type":"array","items":{"type":"string"},"required":false},"messages":{"description":"Limit result set to rows with messages. Format: LoggerSlug:message.","type":"array","items":{"type":"string"},"required":false},"users":{"description":"Limit result set to rows with user ids.","type":"array","items":{"type":"integer"},"required":false},"user":{"description":"Limit result set to rows with user id.","type":"integer","required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"include_sticky":{"description":"Include sticky events in the result set.","type":"boolean","default":false,"required":false},"only_sticky":{"description":"Only return sticky events.","type":"boolean","default":false,"required":false},"initiator":{"description":"Limit result set to events from specific initiator(s).","type":["string","array"],"items":{"type":"string"},"required":false},"context_filters":{"description":"Context filters as key-value pairs to filter events by context data.","type":"object","additionalProperties":{"type":"string"},"required":false},"ungrouped":{"description":"Return ungrouped events without occasions grouping.","type":"boolean","default":false,"required":false},"surrounding_event_id":{"description":"Show events surrounding this event ID. Returns events chronologically before and after the specified event, regardless of other filters. Requires administrator privileges.","type":"integer","required":false},"surrounding_count":{"description":"Number of events to show before AND after the surrounding_event_id. Default 5, max 50.","type":"integer","default":5,"minimum":1,"maximum":50,"required":false},"exclude_search":{"description":"Exclude events containing these words. Events matching this search will be hidden.","type":"string","required":false},"exclude_loglevels":{"description":"Exclude events with these log levels.","type":"array","items":{"type":"string"},"required":false},"exclude_loggers":{"description":"Exclude events from these loggers.","type":"array","items":{"type":"string"},"required":false},"exclude_messages":{"description":"Exclude events with these messages. Format: LoggerSlug:message.","type":"array","items":{"type":"string"},"required":false},"exclude_users":{"description":"Exclude events from these user IDs.","type":"array","items":{"type":"integer"},"required":false},"exclude_user":{"description":"Exclude events from this user ID.","type":"integer","required":false},"exclude_initiator":{"description":"Exclude events from specific initiator(s).","type":["string","array"],"items":{"type":"string"},"required":false}}},{"methods":["POST"],"args":{"message":{"type":"string","description":"Short message to log","required":true},"note":{"type":"string","description":"Additional note or details about the event","required":false},"level":{"type":"string","enum":["emergency","alert","critical","error","warning","notice","info","debug"],"default":"info","description":"Log level","required":false},"date":{"type":"string","format":"date-time","description":"Date and time for the event in MySQL datetime format (Y-m-d H:i:s). If not provided, current time will be used.","required":false}}}],"_links":{"self":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/simple-history\/v1\/events"}]}},"\/simple-history\/v1\/events\/has-updates":{"namespace":"simple-history\/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},"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":"Type of result to return.","type":"string","default":"overview","enum":["overview","occasions"],"required":false},"logRowID":{"description":"Limit result set to rows with id lower than this.","type":"integer","required":false},"occasionsID":{"description":"Limit result set to rows with occasionsID equal to this.","type":"string","required":false},"occasionsCount":{"description":"The number of occasions to get.","type":"integer","required":false},"occasionsCountMaxReturn":{"description":"The max number of occasions to return.","type":"integer","required":false},"include":{"description":"Limit result set to specific IDs.","type":"array","items":{"type":"integer"},"default":null,"required":false},"max_id_first_page":{"description":"Limit result set to rows with id equal or lower than this.","type":"integer","required":false},"since_id":{"description":"Limit result set to rows with id greater than this, i.e. more recent than since_id.","type":"integer","required":true},"since_date":{"description":"Limit result set to events with date > since_date OR (date = since_date AND id > since_id). Use together with since_id for accurate new event detection.","type":"string","format":"date-time","required":false},"date_from":{"description":"Limit result set to rows with date greater than or equal to this unix timestamp.","type":"string","required":false},"date_to":{"description":"Limit result set to rows with date less than or equal to this unix timestamp.","type":"string","required":false},"dates":{"description":"Limit result set to rows with date within this range.","type":"array","items":{"type":"string"},"required":false},"lastdays":{"description":"Limit result set to rows with date within this range.","type":"integer","required":false},"months":{"description":"Limit result set to rows with date within this range. Format: Y-m.","type":"array","items":{"type":"string"},"required":false},"loglevels":{"description":"Limit result set to rows with log levels.","type":"array","items":{"type":"string"},"required":false},"loggers":{"description":"Limit result set to rows with loggers.","type":"array","items":{"type":"string"},"required":false},"messages":{"description":"Limit result set to rows with messages. Format: LoggerSlug:message.","type":"array","items":{"type":"string"},"required":false},"users":{"description":"Limit result set to rows with user ids.","type":"array","items":{"type":"integer"},"required":false},"user":{"description":"Limit result set to rows with user id.","type":"integer","required":false},"offset":{"description":"Offset the result set by a specific number of items.","type":"integer","required":false},"include_sticky":{"description":"Include sticky events in the result set.","type":"boolean","default":false,"required":false},"only_sticky":{"description":"Only return sticky events.","type":"boolean","default":false,"required":false},"initiator":{"description":"Limit result set to events from specific initiator(s).","type":["string","array"],"items":{"type":"string"},"required":false},"context_filters":{"description":"Context filters as key-value pairs to filter events by context data.","type":"object","additionalProperties":{"type":"string"},"required":false},"ungrouped":{"description":"Return ungrouped events without occasions grouping.","type":"boolean","default":false,"required":false},"surrounding_event_id":{"description":"Show events surrounding this event ID. Returns events chronologically before and after the specified event, regardless of other filters. Requires administrator privileges.","type":"integer","required":false},"surrounding_count":{"description":"Number of events to show before AND after the surrounding_event_id. Default 5, max 50.","type":"integer","default":5,"minimum":1,"maximum":50,"required":false},"exclude_search":{"description":"Exclude events containing these words. Events matching this search will be hidden.","type":"string","required":false},"exclude_loglevels":{"description":"Exclude events with these log levels.","type":"array","items":{"type":"string"},"required":false},"exclude_loggers":{"description":"Exclude events from these loggers.","type":"array","items":{"type":"string"},"required":false},"exclude_messages":{"description":"Exclude events with these messages. Format: LoggerSlug:message.","type":"array","items":{"type":"string"},"required":false},"exclude_users":{"description":"Exclude events from these user IDs.","type":"array","items":{"type":"integer"},"required":false},"exclude_user":{"description":"Exclude events from this user ID.","type":"integer","required":false},"exclude_initiator":{"description":"Exclude events from specific initiator(s).","type":["string","array"],"items":{"type":"string"},"required":false}}}],"_links":{"self":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/simple-history\/v1\/events\/has-updates"}]}},"\/simple-history\/v1\/events\/(?P