{"action":"created","comment":{"url":"https://api.github.com/repos/apache/cordova-docs/pulls/comments/51338528","id":51338528,"diff_hunk":"@@ -17,700 +17,489 @@ license: >\n     specific language governing permissions and limitations\n     under the License.\n \n-title: Plugin Specification\n+title: Plugin.xml\n ---\n \n-# Plugin Specification\n-\n-The `plugin.xml` file is an XML document in the `plugins` namespace:\n-`http://apache.org/cordova/ns/plugins/1.0`. It contains a top-level\n-`plugin` element that defines the plugin, and children that define the\n-structure of the plugin.\n-\n-A sample plugin element:\n+# Plugin.xml\n \n-    <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n-    <plugin xmlns=\"http://apache.org/cordova/ns/plugins/1.0\"\n-        xmlns:android=\"http://schemas.android.com/apk/res/android\"\n-        id=\"com.alunny.foo\"\n-        version=\"1.0.2\">\n+Plugin.xml file defines the structure and settings required for your plugin. It has several elements to provide details about your plugin.\n \n-## _plugin_ Element\n+## plugin\n \n-The `plugin` element is the plugin manifest's top-level element. It\n-features the following attributes:\n+  The `plugin` element is the plugin manifest's top-level element.\n \n-* `xmlns` (required):\n-  The plugin namespace, `http://apache.org/cordova/ns/plugins/1.0`. If\n-  the document contains XML from other namespaces, such as tags to be\n-  added to the `AndroidManifest.xml` file, those namespaces should\n-  also be included in the top-level element.\n+  Attributes(type) | Description\n+  ---------------- | ------------\n+  xmlns(string) | *Required* <br/> The plugin namespace, `http://apache.org/cordova/ns/plugins/1.0`. If the document contains XML from other namespaces, such as tags to be added to the `AndroidManifest.xml` file, those namespaces should also be included in the <plugin> element.\n+  id(string) | *Required* <br/> A reverse-domain style identifier for the plugin.\n+  version(string) | *Required* <br/> A version number for the plugin, that matches the following major-minor-patch style regular expression: `^\\d+[.]\\d+[.]\\d+$`\n \n-* `id` (required):\n-  A reverse-domain style identifier for the plugin, such as\n-  `com.alunny.foo`\n+  Example:\n+  ```\n+  <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+  <plugin xmlns=\"http://apache.org/cordova/ns/plugins/1.0\"\n+      xmlns:android=\"http://schemas.android.com/apk/res/android\"\n+      id=\"com.alunny.foo\"\n+      version=\"1.0.2\">\n+  ```\n \n-* `version` (required):\n-  A version number for the plugin, that matches the following\n-  major-minor-patch style regular expression:\n+### engines and engine\n \n-        ^\\d+[.]\\d+[.]\\d+$\n+  The child elements of the `<engines>` element specify versions of Apache Cordova-based frameworks that this plugin supports. Plugman aborts with a non-zero code for any plugin whose target project does not meet the engine's constraints. If no <engine> tags are specified, plugman attempts to install into the specified cordova project directory blindly.\n \n-## _engines_ and _engine_ Elements\n+  Attributes(type) | Description\n+  ---------------- | ------------\n+  name(string) | *Required* <br/> Name of the engine. Here are the default engines that are supported : <ul><li> `cordova` </li> <li> `cordova-plugman` </li> <li> `cordova-android` </li> <li> `cordova-ios` </li> <li> `cordova-blackberry10` </li> <li> `cordova-wp8` </li> <li> `cordova-windows` </li> <li> `android-sdk` // returns the highest Android api level installed </li> <li> `apple-xcode` // returns the xcode version </li> <li> `apple-ios` // returns the highest iOS version installed </li> <li> `apple-osx` // returns the OSX version </li> <li> `blackberry-ndk` // returns the native blackberry SDK version </li> You can also specify a custom framework apart from the default ones.\n+  version(string) | *Required* <br/> The version that your framework must have in order to install. It should match a major-minor-patch string conforming to the regular expression: `^\\d+[.]\\d+[.]\\d+$`\n+  scriptSrc(string) | **For custom frameworks only** <br/> *Required* <br/>  The script file that tells plugman the version of the custom framework. Ideally, this file should be within the top level directory of your plugin directory.\n+  platform(string) | **For custom frameworks only** <br/> *Required* <br/> The platforms your framework supports. You may use the wildcard `*` to say supported for all platforms, specify multiple with a pipe character like `android|ios|blackberry10` or just a single platform like `android`.\n \n-The child elements of the `<engines>` element specify versions of\n-Apache Cordova-based frameworks that this plugin supports. An example:\n+  Examples:\n+  ```\n+  <engines>\n+    <engine name=\"cordova-android\" version=\"=1.8.0\" />\n+  </engines>\n+  ```\n \n-    <engines>\n-        <engine name=\"cordova\" version=\"1.7.0\" />\n-        <engine name=\"cordova\" version=\"1.8.1\" />\n-        <engine name=\"worklight\" version=\"1.0.0\" platform=\"android\" scriptSrc=\"worklight_version\"/>\n-    </engines>\n+  Engine elements may also specify fuzzy matches using '>', '>=' etc. to avoid repetition, and to reduce maintenance when the underlying platform is updated.\n+  ```\n+  <engines>\n+    <engine name=\"cordova-android\" version=\">=1.8.0\" />\n+  </engines>  \n+  ```\n \n-Similar to the `<plugin>` element's `version` attribute, the specified\n-version string should match a major-minor-patch string conforming to\n-the regular expression:\n+  The `<engine>` tags also has default support for all of the main platforms Cordova exists on. Specifying the cordova engine tag means that all versions of Cordova on any platform must satisfy the engine version attribute. You may also list specific platforms and their versions in order to override the catch-all cordova engine:\n+  ```\n+  <engines>\n+    <engine name=\"cordova\" version=\">=1.7.0\" />\n+    <engine name=\"cordova-android\" version=\">=1.8.0\" />\n+    <engine name=\"cordova-ios\" version=\">=1.7.1\" />\n+  </engines>\n+  ```\n \n-        ^\\d+[.]\\d+[.]\\d+$\n+  Custom frameworks example:\n+  ```\n+  <engines>\n+    <engine name=\"my_custom_framework\" version=\"1.0.0\" platform=\"android\" scriptSrc=\"path_to_my_custom_framework_version\"/>\n+    <engine name=\"another_framework\" version=\">0.2.0\" platform=\"ios|android\" scriptSrc=\"path_to_another_framework_version\"/>\n+    <engine name=\"even_more_framework\" version=\">=2.2.0\" platform=\"*\" scriptSrc=\"path_to_even_more_framework_version\"/>\n+  </engines>\n+  ```\n \n-Engine elements may also specify fuzzy matches to avoid repetition,\n-and to reduce maintenance when the underlying platform is updated.\n-Tools should support a minimum of `>`, `>=`, `<` and `<=`, for\n-example:\n+### name\n \n-    <engines>\n-        <engine name=\"cordova\" version=\">=1.7.0\" />\n-        <engine name=\"cordova\" version=\"<1.8.1\" />\n-    </engines>\n+  The `name` element is used to specify the name of the plugin. This element does not (yet) handle localization.\n \n-The `<engine>` tags also has default support for all of the main platforms Cordova exists on. \n-Specifying the `cordova` engine tag means that all versions of Cordova on any platform must\n-satisfy the engine version attribute. You may also list specific platforms and their versions\n-in order to override the catch-all `cordova` engine:\n+  Example:\n+  ```\n+  <name>Foo</name>\n+  ```\n \n-    <engines>\n-        <engine name=\"cordova\" version=\">=1.7.0\" />\n-        <engine name=\"cordova-android\" version=\">=1.8.0\" />\n-        <engine name=\"cordova-ios\" version=\">=1.7.1\" />\n-    </engines>\n+### description\n \n-Here's a list of the default engines that the `<engine>` tag supports:\n+  The `description` element is used to specify the description of the plugin. This element does not (yet) handle localization.\n \n-* `cordova`\n-* `cordova-plugman`\n-* `cordova-amazon-fireos`\n-* `cordova-android`\n-* `cordova-ios`\n-* `cordova-blackberry10`\n-* `cordova-wp8`\n-* `cordova-windows8`\n-* `android-sdk` // returns the highest Android api level installed\n-* `apple-xcode` // returns the xcode version \n-* `apple-ios` // returns the highest iOS version installed\n-* `apple-osx` // returns the OSX version\n-* `blackberry-ndk` // returns the native blackberry SDK version\n-        \n-Specifying custom Apache Cordova-based frameworks should be listed under the engine tag like so:\n+  Example:\n+  ```\n+  <description>Foo plugin description</description>\n+  ```\n \n-    <engines>\n-        <engine name=\"my_custom_framework\" version=\"1.0.0\" platform=\"android\" scriptSrc=\"path_to_my_custom_framework_version\"/>\n-        <engine name=\"another_framework\" version=\">0.2.0\" platform=\"ios|android\" scriptSrc=\"path_to_another_framework_version\"/>\n-        <engine name=\"even_more_framework\" version=\">=2.2.0\" platform=\"*\" scriptSrc=\"path_to_even_more_framework_version\"/>\n-    </engines>\n+### author\n \n-A custom Apache Cordova-based framework requires that an engine element includes the following attributes: \n-`name`, `version`, `scriptSrc`, and `platform`. \n+  The content of the `author` element contains the name of the plugin author.\n \n-* `name` (required): A human-readable name for your custom framework. \n+  Example:\n+  ```\n+  <author>Foo plugin author</author>\n+  ```\n \n-* `version` (required): The version that your framework must have in order to install.\n+### keywords\n \n-* `scriptSrc` (required): The script file that tells plugman what version of the custom framework is. \n-Ideally, this file should be within the top level directory of your plugin directory.\n+  The content of the `keywords` element contains comma separated keywords to describe the plugin.\n \n-* `platform` (required): Which platforms that your framework supports. You may use the wildcard `*`\n-to say supported for all platforms, specify multiple with a pipe character like `android|ios|blackberry10` \n-or just a single platform like `android`.\n+  Example:\n+  ```\n+  <license>foo,bar</license>\n+  ```\n \n-plugman aborts with a non-zero code for any plugin whose target\n-project does not meet the engine's constraints.\n+### license\n \n-If no `<engine>` tags are specified, plugman attempts to install into\n-the specified cordova project directory blindly.\n+  This element is used to specify the license of the plugin.\n \n-## _name_ Element\n+  Example:\n+  ```\n+  <license>Apache 2.0 License</license>\n+  ```\n+\n+### asset\n \n-A human-readable name for the plugin, whose text content contains the\n-name of the plugin. For example:\n+  This element is used to list the files or directories to be copied into a Cordova app's www directory. Any `<asset>` elements that are nested within `<platform>` elements specify platform-specific web assets.\n \n-    <name>Foo</name>\n+  Attributes(type) | Description\n+  ---------------- | ------------\n+  src(string) | *Required* <br/>  Where the file or directory is located in the plugin package, relative to the plugin.xml document. If a file does not exist at the specified src location, plugman stops and reverses the installation process, issues a notification about the conflict, and exits with a non-zero code.\n+  target(string) | *Required* <br/> Where the file or directory should be located in the Cordova app, relative to the www directory. If a file already exists at the target location, plugman stops and reverses the installation process, issues a notification about the conflict, and exits with a non-zero code.\n \n-This element does not (yet) handle localization.\n+  Examples: \n+  ```\n+  <!-- a single file, to be copied in the root directory -->\n+  <asset src=\"www/foo.js\" target=\"foo.js\" />\n+  <!-- a directory, also to be copied in the root directory -->\n+  <asset src=\"www/foo\" target=\"foo\" />\n+  ```\n \n-## _description_ Element\n+  Assets can be targeted to subdirectories as well. This will create the js/experimental directory within the www directory, unless already present, and copy the new-foo.js file and renames it to foo.js.\n+  ```\n+  <asset src=\"www/new-foo.js\" target=\"js/experimental/foo.js\" />\n+  ```\n \n-A human-readable description for the plugin. The text content of the element contains\n-the description of the plugin. An example:\n+### js-module\n \n-    <description>Foo plugin description</description>\n+  Most plugins include one or more JavaScript files.  Each `<js-module>` tag corresponds to a JavaScript file, and prevents the plugin's users from having to add a `<script>` tag for each file. Do not wrap the file with cordova.define, as it is added automatically. The module is wrapped in a closure, with module, exports, and require in scope, as is normal for AMD modules. Nesting `<js-module>` elements within `<platform>` declares platform-specific JavaScript module bindings.\n \n-This element does not (yet) handle localization.\n+  Attributes(type) | Description\n+  ---------------- | ------------\n+  src(string) | References a file in the plugin directory relative to the plugin.xml file. If src does not resolve to an existing file, plugman stops and reverses the installation, issues a notification of the problem, and exits with a non-zero code.\n+  name(string) | Provides the last part of the module name. It can generally be whatever you like, and it only matters if you want to use cordova.require to import other parts of your plugins in your JavaScript code. The module name for a `<js-module>` is your plugin's id followed by the value of name.\n \n-## _author_ Element\n+  Example:\n \n-Plugin author name. The text content of the element contains\n-the name of the plugin author. An example:\n+  When installing a plugin with the example below, socket.js is copied to `www/plugins/my.plugin.id/socket.js`, and added as an entry to `www/cordova_plugins.js`. At load time, code in cordova.js uses XHR to read each file and inject a `<script>` tag into HTML.\n+  ```\n+  <js-module src=\"socket.js\" name=\"Socket\">\n+  </js-module>\n+  ```\n+  Also for this example, with a plugin id of `chrome.socket`, the module name will be `chrome.socket.Socket`.\n \n-    <author>Foo plugin description</author>\n+#### clobbers\n \n-## _keywords_ Element\n+  Allowed within `<js-module>` element. Used to specify the namespace under `window` object where module.exports gets inserted. You can have as many `<clobbers>` as you\n+  like. Any object not available on `window` is created.\n \n-Plugin keywords. The text content of the element contains comma separated keywords to describe the plugin. An example:\n+  Attributes(type) | Description\n+  ---------------- | ------------\n+  target(string) | The namespace where module.exports gets inserted to.\n \n-    <keywords>foo,bar</keywords>\n+  Example:\n+  ```\n+  <js-module src=\"socket.js\" name=\"Socket\">\n+    <clobbers target=\"chrome.socket\" />\n+  </js-module>\n+  ```\n+  Here module.exports gets inserted into the `window` object as `window.chrome.socket`.\n \n-## _license_ Element\n+#### merges\n \n-Plugin license. The text content of the element contains the plugin license. An example:\n+  Allowed within `<js-module>` element. Used to specify the namespace under `window` object where module.exports gets merged with any existing value. If any key already exists, the module's version overrides the original. You can have as many `<merges>` as you like. Any object not available on `window` is created.\n \n-    <license>Apache 2.0 License</license>\n+  Attributes(type) | Description\n+  ---------------- | ------------\n+  target(string) | The namespace which module.exports gets merged to.\n \n-## _asset_ Element\n+  Example:\n+  ```\n+  <js-module src=\"socket.js\" name=\"Socket\">\n+    <merges target=\"chrome.socket\" />\n+  </js-module>\n+  ```\n+  Here module.exports gets merged with any existing value at `window.chrome.socket`.\n \n-One or more elements listing the files or directories to be copied\n-into a Cordova app's `www` directory. Examples:\n+#### runs\n \n-    <!-- a single file, to be copied in the root directory -->\n-    <asset src=\"www/foo.js\" target=\"foo.js\" />\n-    <!-- a directory, also to be copied in the root directory -->\n-    <asset src=\"www/foo\" target=\"foo\" />\n+  Allowed within `<js-module>` element. It implies that your code should be specified with `cordova.require`, but not installed on the `window` object. This is useful when initializing the module, attaching event handlers or otherwise. You can only have up to one `<runs/>` tag. Note that including a `<runs/>` with `<clobbers/>` or `<merges/>` is redundant, since they also `cordova.require` your module.\n \n-All `<asset>` tags require both `src` and `target` attributes.\n-Web-only plugins contains mostly `<asset>` elements. Any `<asset>`\n-elements that are nested within `<platform>` elements specify\n-platform-specific web assets, as described below. Attributes include:\n+  Example:\n+  ```\n+  <js-module src=\"socket.js\" name=\"Socket\">\n+    <runs/>\n+  </js-module>\n+  ```\n \n-* `src` (required): \n-  Where the file or directory is located in the plugin package,\n-  relative to the `plugin.xml` document.  If a file does not exist at\n-  the specified `src` location, plugman stops and reverses the\n-  installation process, issues a notification about the conflict, and\n-  exits with a non-zero code.\n+### dependency\n \n-* `target` (required):\n+  The `<dependency>` tag allows you to specify other plugins on which the current plugin depends. While future versions will access them from plugin repositories, in the short term plugins are directly referenced as URLs by `<dependency>` tags. In the future, version constraints will be introduced, and a plugin repository will exist to support fetching by name instead of explicit URLs.\n \n-  Where the file or directory should be located in the Cordova app,\n-  relative to the `www` directory.\n-  Assets can be targeted to subdirectories, for example:\n+  Attributes(type) | Description\n+  ---------------- | ------------\n+  id(string) | Provides the ID of the plugin. It should be globally unique, and expressed in reverse-domain style. While neither of these restrictions is currently enforced, they may be in the future.\n+  url(string) | A URL for the plugin. This should reference a git repository, which plugman attempts to clone.\n+  commit(string) | This is any git reference understood by `git checkout`: a branch or tag name (e.g., `master`, `0.3.1`), or a commit hash (e.g., `975ddb228af811dd8bb37ed1dfd092a3d05295f9`).\n+  subdir(string) | Specifies that the targeted plugin dependency exists as a subdirectory of the git repository. This is helpful because it allows the repository to contain several related plugins, each specified individually. <br/> If you set the `url` of a `<dependency>` tag to `\".\"` and provide a `subdir`, the dependent plugin is installed from the same local or remote git repository as the parent plugin that specifies the `<dependency>` tag. <br/> Note that the `subdir` always specifies a path relative to the _root_ of the git repository, not the parent plugin. This is true even if you installed the plugin with a local path directly to it. Plugman finds the root of the git repository and then finds the other plugin from there.\n+\n+  Example:\n+  ```\n+  <dependency id=\"com.plugin.id\" url=\"https://github.com/myuser/someplugin\" commit=\"428931ada3891801\" subdir=\"some/path/here\" />\n+  ```\n+\n+### platform\n+\n+  Identifies platforms that have associated native code or require modifications to their configuration files. Tools using this specification can identify supported platforms and install the code into Cordova projects. Plugins without `<platform>` tags are assumed to be JavaScript-only, and therefore installable on any and all platforms.\n+\n+  Attributes(type) | Description\n+  ---------------- | ------------\n+  name(string) | *Required* <br/> Allowed values: ios, android, blackberry10, amazon-fireos, wp8, windows <br/> Identifies a platform as supported, associating the element's children with that platform.\n+\n+  Example:\n+  ```\n+  <platform name=\"android\">\n+    <!-- android-specific elements -->\n+  </platform>\n+  ```\n+\n+#### source-file\n+\n+  Identifies executable source code that should be installed into a project.\n+\n+  Attributes(type) | Description\n+  ---------------- | ------------\n+  src(string) | *Required* <br/> Location of the file relative to plugin.xml. If the src file can't be found, plugman stops and reverses the installation, issues a notification about the problem, and exits with a non-zero code.\n+  target-dir(string) | A directory into which the files should be copied, relative to the root of the Cordova project. In practice, this is most important for Java-based platforms, where a file in the `com.alunny.foo` package must be located within the `com/alunny/foo` directory. For platforms where the source directory is not important, this attribute should be omitted.\n+  framework(boolean) | *Default: false* <br/> ==iOS== <br/> If set to true, also adds the specified file as a framework to the project.\n+  compiler-flags(string) | ==iOS== <br/> If set, assigns the specified compiler flags for the particular source file.\n+\n+  Examples:\n+  ```\n+  <!-- android -->\n+  <source-file src=\"src/android/Foo.java\" target-dir=\"src/com/alunny/foo\" />\n+  <!-- ios -->\n+  <source-file src=\"src/ios/CDVFoo.m\" />\n+  <source-file src=\"src/ios/someLib.a\" framework=\"true\" />\n+  <source-file src=\"src/ios/someLib.a\" compiler-flags=\"-fno-objc-arc\" />\n+  ```\n+\n+#### header-file\n+\n+  This is like `<source-file>` element, but specifically for platforms such as iOS and android that distinguish between source files, headers, and resources. This is not supported by Windows. \n+\n+  Example:\n+\n+  For iOS:\n+  ```\n+  <header-file src=\"CDVFoo.h\" />\n+  ```\n+\n+#### resource-file","path":"www/docs/en/dev/plugin_ref/spec.md","position":398,"original_position":398,"commit_id":"37e6781bb0c8a2bdd730a915e4be6d1cb361346d","original_commit_id":"37e6781bb0c8a2bdd730a915e4be6d1cb361346d","user":{"login":"riknoll","id":13754588,"avatar_url":"https://avatars.githubusercontent.com/u/13754588?v=3","gravatar_id":"","url":"https://api.github.com/users/riknoll","html_url":"https://github.com/riknoll","followers_url":"https://api.github.com/users/riknoll/followers","following_url":"https://api.github.com/users/riknoll/following{/other_user}","gists_url":"https://api.github.com/users/riknoll/gists{/gist_id}","starred_url":"https://api.github.com/users/riknoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riknoll/subscriptions","organizations_url":"https://api.github.com/users/riknoll/orgs","repos_url":"https://api.github.com/users/riknoll/repos","events_url":"https://api.github.com/users/riknoll/events{/privacy}","received_events_url":"https://api.github.com/users/riknoll/received_events","type":"User","site_admin":false},"body":"Does Android support this one? It's not listed in the supported platforms, but it has an example. iOS is mentioned as well","created_at":"2016-01-30T02:30:14Z","updated_at":"2016-01-30T02:30:14Z","html_url":"https://github.com/apache/cordova-docs/pull/474#discussion_r51338528","pull_request_url":"https://api.github.com/repos/apache/cordova-docs/pulls/474","_links":{"self":{"href":"https://api.github.com/repos/apache/cordova-docs/pulls/comments/51338528"},"html":{"href":"https://github.com/apache/cordova-docs/pull/474#discussion_r51338528"},"pull_request":{"href":"https://api.github.com/repos/apache/cordova-docs/pulls/474"}}},"pull_request":{"url":"https://api.github.com/repos/apache/cordova-docs/pulls/474","id":57726570,"html_url":"https://github.com/apache/cordova-docs/pull/474","diff_url":"https://github.com/apache/cordova-docs/pull/474.diff","patch_url":"https://github.com/apache/cordova-docs/pull/474.patch","issue_url":"https://api.github.com/repos/apache/cordova-docs/issues/474","number":474,"state":"open","locked":false,"title":"CB-10364: Making plugin.xml a reference","user":{"login":"rakatyal","id":12533467,"avatar_url":"https://avatars.githubusercontent.com/u/12533467?v=3","gravatar_id":"","url":"https://api.github.com/users/rakatyal","html_url":"https://github.com/rakatyal","followers_url":"https://api.github.com/users/rakatyal/followers","following_url":"https://api.github.com/users/rakatyal/following{/other_user}","gists_url":"https://api.github.com/users/rakatyal/gists{/gist_id}","starred_url":"https://api.github.com/users/rakatyal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakatyal/subscriptions","organizations_url":"https://api.github.com/users/rakatyal/orgs","repos_url":"https://api.github.com/users/rakatyal/repos","events_url":"https://api.github.com/users/rakatyal/events{/privacy}","received_events_url":"https://api.github.com/users/rakatyal/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-30T02:05:40Z","updated_at":"2016-01-30T02:30:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1d6f8c32e37a87a77f9beb34a545b88b851b8ad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/cordova-docs/pulls/474/commits","review_comments_url":"https://api.github.com/repos/apache/cordova-docs/pulls/474/comments","review_comment_url":"https://api.github.com/repos/apache/cordova-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/cordova-docs/issues/474/comments","statuses_url":"https://api.github.com/repos/apache/cordova-docs/statuses/37e6781bb0c8a2bdd730a915e4be6d1cb361346d","head":{"label":"MSOpenTech:raghav/plugin","ref":"raghav/plugin","sha":"37e6781bb0c8a2bdd730a915e4be6d1cb361346d","user":{"login":"MSOpenTech","id":1638184,"avatar_url":"https://avatars.githubusercontent.com/u/1638184?v=3","gravatar_id":"","url":"https://api.github.com/users/MSOpenTech","html_url":"https://github.com/MSOpenTech","followers_url":"https://api.github.com/users/MSOpenTech/followers","following_url":"https://api.github.com/users/MSOpenTech/following{/other_user}","gists_url":"https://api.github.com/users/MSOpenTech/gists{/gist_id}","starred_url":"https://api.github.com/users/MSOpenTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSOpenTech/subscriptions","organizations_url":"https://api.github.com/users/MSOpenTech/orgs","repos_url":"https://api.github.com/users/MSOpenTech/repos","events_url":"https://api.github.com/users/MSOpenTech/events{/privacy}","received_events_url":"https://api.github.com/users/MSOpenTech/received_events","type":"Organization","site_admin":false},"repo":{"id":23121466,"name":"cordova-docs","full_name":"MSOpenTech/cordova-docs","owner":{"login":"MSOpenTech","id":1638184,"avatar_url":"https://avatars.githubusercontent.com/u/1638184?v=3","gravatar_id":"","url":"https://api.github.com/users/MSOpenTech","html_url":"https://github.com/MSOpenTech","followers_url":"https://api.github.com/users/MSOpenTech/followers","following_url":"https://api.github.com/users/MSOpenTech/following{/other_user}","gists_url":"https://api.github.com/users/MSOpenTech/gists{/gist_id}","starred_url":"https://api.github.com/users/MSOpenTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MSOpenTech/subscriptions","organizations_url":"https://api.github.com/users/MSOpenTech/orgs","repos_url":"https://api.github.com/users/MSOpenTech/repos","events_url":"https://api.github.com/users/MSOpenTech/events{/privacy}","received_events_url":"https://api.github.com/users/MSOpenTech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MSOpenTech/cordova-docs","description":"Mirror of Apache Cordova docs","fork":true,"url":"https://api.github.com/repos/MSOpenTech/cordova-docs","forks_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/forks","keys_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/teams","hooks_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/hooks","issue_events_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/issues/events{/number}","events_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/events","assignees_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/assignees{/user}","branches_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/branches{/branch}","tags_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/tags","blobs_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/languages","stargazers_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/stargazers","contributors_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/contributors","subscribers_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/subscribers","subscription_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/subscription","commits_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/contents/{+path}","compare_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/merges","archive_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/downloads","issues_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/issues{/number}","pulls_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/labels{/name}","releases_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/releases{/id}","deployments_url":"https://api.github.com/repos/MSOpenTech/cordova-docs/deployments","created_at":"2014-08-19T18:40:13Z","updated_at":"2015-10-23T00:39:06Z","pushed_at":"2016-01-30T02:02:31Z","git_url":"git://github.com/MSOpenTech/cordova-docs.git","ssh_url":"git@github.com:MSOpenTech/cordova-docs.git","clone_url":"https://github.com/MSOpenTech/cordova-docs.git","svn_url":"https://github.com/MSOpenTech/cordova-docs","homepage":null,"size":126898,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"e7bfcca11b6e50368cd5ee4427e3d71131b99b10","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":6898391,"name":"cordova-docs","full_name":"apache/cordova-docs","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/cordova-docs","description":"Mirror of Apache Cordova docs","fork":false,"url":"https://api.github.com/repos/apache/cordova-docs","forks_url":"https://api.github.com/repos/apache/cordova-docs/forks","keys_url":"https://api.github.com/repos/apache/cordova-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/cordova-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/cordova-docs/teams","hooks_url":"https://api.github.com/repos/apache/cordova-docs/hooks","issue_events_url":"https://api.github.com/repos/apache/cordova-docs/issues/events{/number}","events_url":"https://api.github.com/repos/apache/cordova-docs/events","assignees_url":"https://api.github.com/repos/apache/cordova-docs/assignees{/user}","branches_url":"https://api.github.com/repos/apache/cordova-docs/branches{/branch}","tags_url":"https://api.github.com/repos/apache/cordova-docs/tags","blobs_url":"https://api.github.com/repos/apache/cordova-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/cordova-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/cordova-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/cordova-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/cordova-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/cordova-docs/languages","stargazers_url":"https://api.github.com/repos/apache/cordova-docs/stargazers","contributors_url":"https://api.github.com/repos/apache/cordova-docs/contributors","subscribers_url":"https://api.github.com/repos/apache/cordova-docs/subscribers","subscription_url":"https://api.github.com/repos/apache/cordova-docs/subscription","commits_url":"https://api.github.com/repos/apache/cordova-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/cordova-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/cordova-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/cordova-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/cordova-docs/contents/{+path}","compare_url":"https://api.github.com/repos/apache/cordova-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/cordova-docs/merges","archive_url":"https://api.github.com/repos/apache/cordova-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/cordova-docs/downloads","issues_url":"https://api.github.com/repos/apache/cordova-docs/issues{/number}","pulls_url":"https://api.github.com/repos/apache/cordova-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/cordova-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/cordova-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/cordova-docs/labels{/name}","releases_url":"https://api.github.com/repos/apache/cordova-docs/releases{/id}","deployments_url":"https://api.github.com/repos/apache/cordova-docs/deployments","created_at":"2012-11-28T08:00:26Z","updated_at":"2016-01-14T03:00:45Z","pushed_at":"2016-01-30T02:26:27Z","git_url":"git://github.com/apache/cordova-docs.git","ssh_url":"git@github.com:apache/cordova-docs.git","clone_url":"https://github.com/apache/cordova-docs.git","svn_url":"https://github.com/apache/cordova-docs","homepage":null,"size":139343,"stargazers_count":133,"watchers_count":133,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":259,"mirror_url":"git://git.apache.org/cordova-docs.git","open_issues_count":22,"forks":259,"open_issues":22,"watchers":133,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/cordova-docs/pulls/474"},"html":{"href":"https://github.com/apache/cordova-docs/pull/474"},"issue":{"href":"https://api.github.com/repos/apache/cordova-docs/issues/474"},"comments":{"href":"https://api.github.com/repos/apache/cordova-docs/issues/474/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/cordova-docs/pulls/474/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/cordova-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/cordova-docs/pulls/474/commits"},"statuses":{"href":"https://api.github.com/repos/apache/cordova-docs/statuses/37e6781bb0c8a2bdd730a915e4be6d1cb361346d"}}}}