(api-deleter wordpress-connection resource)
(api-getter wordpress-connection resource)
(api-getter wordpress-connection endpoint-path extraction-items)
(api-mapper wordpress-connection
resource
key-extraction-item
value-extraction-item)
(api-updater wordpress-connection resource)
(api-updater wordpress-connection endpoint-path data)
(api-updater wordpress-connection endpoint-path item-key item-value)
(build-api-endpoint url)
(build-api-endpoint url ep)
Function used generally for internal use to build endpoint paths.
Function used generally for internal use to build endpoint paths.
(connect url username password)
Attempts to connect to a site which has WordPress installed. Takes a url, username, and password and either throws in the case some issue with said credentials is encountered, or gives back a new WordPressConnection.
Attempts to connect to a site which has WordPress installed. Takes a url, username, and password and either throws in the case some issue with said credentials is encountered, or gives back a new WordPressConnection.
(defwp endpoint-name path)
(defwp endpoint-name path callback)
(delete-from-wordpress wordpress-connection endpoint-path)
(delete-from-wordpress wordpress-connection endpoint-path context)
Raw API call for deleting data from a site that has WordPress installed.
Takes an instantiated WordPressConnection, the path of an endpoint (formatted with an initial /), and the context one wishes to access the endpoint with. Legitimate contexts include :view :edit and :embed. Certain contexts allow access to additional information in the response, for example allowing gets on posts to recieve the raw markup (including shortcodes) when the edit parameter is passed instead of view, which will only return 'rendered' markup.
Primary for internal use or for extending the library.
Raw API call for deleting data from a site that has WordPress installed. Takes an instantiated WordPressConnection, the path of an endpoint (formatted with an initial /), and the context one wishes to access the endpoint with. Legitimate contexts include :view :edit and :embed. Certain contexts allow access to additional information in the response, for example allowing gets on posts to recieve the raw markup (including shortcodes) when the edit parameter is passed instead of view, which will only return 'rendered' markup. Primary for internal use or for extending the library.
(delete-resource resource-names wordpress-connection)
Takes an authenticated WordPressConnection and a content-item id and deletes a content-item. returns the JSON object of the now deleted content-item.
Takes an authenticated WordPressConnection and a content-item id and deletes a content-item. returns the JSON object of the now deleted content-item.
(dispatch-resource resource-names wordpress-connection)
(dispatch-resource resource-names wordpress-connection arg-map)
(dispatch-resource resource-names wordpress-connection arg-map method)
(dispatch-resource content-items wordpress-connection arg-map method callback)
(endpathize items)
(get-from-wordpress wordpress-connection endpoint-path)
(get-from-wordpress wordpress-connection endpoint-path context)
(get-from-wordpress wordpress-connection endpoint-path context page)
Raw API call for receiving data from a site that has WordPress installed.
Takes an instantiated WordPressConnection, the path of an endpoint (formatted with an initial /), and the context one wishes to access the endpoint with. Legitimate contexts include :view :edit and :embed. Certain contexts allow access to additional information in the response, for example allowing gets on posts to recieve the raw markup (including shortcodes) when the edit parameter is passed instead of view, which will only return 'rendered' markup.
Primary for internal use or for extending the library.
Raw API call for receiving data from a site that has WordPress installed. Takes an instantiated WordPressConnection, the path of an endpoint (formatted with an initial /), and the context one wishes to access the endpoint with. Legitimate contexts include :view :edit and :embed. Certain contexts allow access to additional information in the response, for example allowing gets on posts to recieve the raw markup (including shortcodes) when the edit parameter is passed instead of view, which will only return 'rendered' markup. Primary for internal use or for extending the library.
(get-resource resource-names wordpress-connection)
Takes an WordPressConnection and gets all the content-item resources as JSON.
Takes an WordPressConnection and gets all the content-item resources as JSON.
(get-site-information wordpress-connection)
Gets raw information about a site that has WordPress installed.
Takes an instantiated WordPressConnection and returns the informations from the /wp-json endpoint for us.
Generally not the most useful thing in the world unless checking for extensions on the site itself.
Gets raw information about a site that has WordPress installed. Takes an instantiated WordPressConnection and returns the informations from the /wp-json endpoint for us. Generally not the most useful thing in the world unless checking for extensions on the site itself.
(has-wordpress-api url)
Takes a url and makes sure that the WP Rest API is on a website.
Takes a url and makes sure that the WP Rest API is on a website.
(post-resource resource-names wordpress-connection arg-map)
Takes an authenticated WordPressConnection and content-item id to update a content-item with a map of attributes to be updated. Read the WordPress API documentation to see information on the schema.
Takes an authenticated WordPressConnection and content-item id to update a content-item with a map of attributes to be updated. Read the WordPress API documentation to see information on the schema.
(post-to-wordpress wordpress-connection endpoint-path data)
(post-to-wordpress wordpress-connection endpoint-path context data)
Raw API call for posting data from a site that has WordPress installed.
Takes an instantiated WordPressConnection, the path of an endpoint (formatted with an initial /), and the context one wishes to access the endpoint with. Legitimate contexts include :view :edit and :embed. Certain contexts allow access to additional information in the response, for example allowing gets on posts to recieve the raw markup (including shortcodes) when the edit parameter is passed instead of view, which will only return 'rendered' markup.
Primary for internal use or for extending the library.
Raw API call for posting data from a site that has WordPress installed. Takes an instantiated WordPressConnection, the path of an endpoint (formatted with an initial /), and the context one wishes to access the endpoint with. Legitimate contexts include :view :edit and :embed. Certain contexts allow access to additional information in the response, for example allowing gets on posts to recieve the raw markup (including shortcodes) when the edit parameter is passed instead of view, which will only return 'rendered' markup. Primary for internal use or for extending the library.
(special-stringize x)
(url-extraction-scheme item)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close