Revision 479747 of Web API reference

  • Revision slug: Web/Reference/API
  • Revision title: Web API reference
  • Revision id: 479747
  • Created:
  • Creator: Ichimonji10
  • Is current revision? No
  • Comment Fix spelling error.

Revision Content

The Web offers a wide variety of APIs to perform various useful tasks. These can be accessed using JavaScript code, and let you do anything from make minor adjustments to any {{domxref("window")}} or {{domxref("element")}}, to generating intricate graphical and audio effects using APIs such as WebGL and Web Audio.

Each individual interface across all APIs is listed in the index.

Document Object Model
The DOM is an API allowing to manipulate, that is access and modify the current document. It allows to manipulate its {{domxref("Node")}} and {{domxref("Element")}}. Both HTML and SVG have extended it to manipulate their specific elements.
Devices APIs
This set of APIs allows to access the different hardware features available to Web pages and applications. E.g. Ambient Light Sensor API, Battery Status API, Geolocation API, Pointer Lock API, Proximity API, Device Orientation API, Screen Orientation API, Vibration API.
Communication APIs
These APIs let Web pages and applications to communicate with other pages or devices. E.g. Network Information API, Web Notifications, Simple Push API.
Data management APIs
The user data can be stored and managed using this set of devices. E.g. FileHandle API, IndexedDB.

In addition to these APIs available to any Web site or apps, Mozilla extended this set with a set of more powerful APIs but only available to privileged applications, or even only to certified applications.

Privileged APIs
A privileged application is an installed apps who has been given by the user a set of specific rights: TCP Socket API, Contacts API, Device Storage API, Browser API,
Certified APIs
A certified application is a low-level application performing a critical operation of an operating system like Firefox OS. Less privileged application interact with these applications using Web Activities: Bluetooth API, Mobile Connection API, Network Stats API, Telephony, WebSMS, WiFi Information API, Camera API, Power Management API, Settings API, Idle API, Permissions API, Time/Clock API.

EditCommunity

Join the Web API community on our mailing list or newsgroup:

Also, be sure to join in the live discussion in the #webapi channel on IRC.

These topics may also be of interest:

 

Revision Source

<p><span class="seoSummary">The Web offers a wide variety of APIs to perform various useful tasks. These can be accessed using JavaScript code, and let you do anything from make minor adjustments to any {{domxref("window")}} or {{domxref("element")}}, to generating intricate graphical and audio effects using APIs such as <a href="/en-US/docs/Web/WebGL">WebGL</a> and <a href="/en-US/docs/Web_Audio_API">Web Audio</a>.</span></p>
<p>Each individual interface across all APIs is listed in the <a href="/en-US/docs/Web/API">index.</a></p>
<div class="cleared topicpage-table">
  <div class="section">
    <dl>
      <dt>
        <a href="/en-US/docs/DOM">Document Object Model</a></dt>
      <dd>
        The DOM is an API allowing to manipulate, that is access and modify the current document. It allows to manipulate its {{domxref("Node")}} and {{domxref("Element")}}. Both HTML and SVG have extended it to manipulate their specific elements.</dd>
      <dt>
        Devices APIs</dt>
      <dd>
        This set of APIs allows to access the different hardware features available to Web pages and applications. E.g. <a href="/en-US/docs/WebAPI/Using_Light_Events">Ambient Light Sensor API</a>, <a href="/en-US/docs/WebAPI/Battery_Status" title="WebAPI/Battery_Status">Battery Status API</a>, <a href="/en-US/docs/Using_geolocation" title="Using_geolocation">Geolocation API</a>, <a href="/en-US/docs/WebAPI/Pointer_Lock" title="API/Pointer_Lock_API">Pointer Lock API</a>, <a href="/en-US/docs/WebAPI/Proximity" title="WebAPI/Proximity">Proximity API</a>, <a href="/en-US/docs/WebAPI/Detecting_device_orientation" title="WebAPI/Detecting_device_orientation">Device Orientation API</a>, <a href="/en-US/docs/WebAPI/Managing_screen_orientation" title="WebAPI/Detecting_device_orientation">Screen Orientation API</a>, <a href="/en-US/docs/WebAPI/Vibration" title="WebAPI/WebBluetooth">Vibration API</a>.</dd>
      <dt>
        Communication APIs</dt>
      <dd>
        These APIs let Web pages and applications to communicate with other pages or devices. E.g. <a href="/en-US/docs/WebAPI/Network_Information" title="WebAPI/Network_Information">Network Information API</a>, <a href="/en-US/docs/WebAPI/Using_Web_Notifications" title="/en-US/docs/WebAPI/Using_Web_Notifications">Web Notifications</a>, <a href="/en-US/docs/WebAPI/Simple_Push" title="WebAPI/Push_Notifications">Simple Push API</a>.</dd>
      <dt id="Data_management_APIs" name="Data_management_APIs">
        Data management APIs</dt>
      <dd>
        The user data can be stored and managed using this set of devices. E.g. <a href="/en-US/docs/WebAPI/FileHandle_API" title="WebAPI/FileHandle_API">FileHandle API</a>, <a href="/en-US/docs/IndexedDB" title="IndexedDB">IndexedDB</a>.</dd>
    </dl>
    <p>In addition to these APIs available to any Web site or apps, Mozilla extended this set with a set of more powerful APIs but only available to privileged applications, or even only to certified applications.</p>
    <dl>
      <dt>
        Privileged APIs</dt>
      <dd>
        A privileged application is an installed apps who has been given by the user a set of specific rights: <a href="/en-US/docs/WebAPI/TCP_Socket" title="WebAPI/TCP_Socket">TCP Socket API</a>, <a href="/en-US/docs/WebAPI/Contacts" title="WebAPI/Contacts">Contacts API</a>, <a href="/en-US/docs/WebAPI/Device_Storage_API" title="WebAPI/Device_Storage_API">Device Storage API</a>, <a href="/en-US/docs/DOM/Using_the_Browser_API" title="DOM/Using_the_Browser_API">Browser API</a>,</dd>
      <dt>
        Certified APIs</dt>
      <dd>
        A certified application is a low-level application performing a critical operation of an operating system like Firefox OS. Less privileged application interact with these applications using <a href="/en-US/docs/WebAPI/Web_Activities" title="WebAPI/Web_Activities">Web Activities</a>:<a href="/en-US/docs/WebAPI/WebBluetooth" title="WebAPI/WebBluetooth"> Bluetooth API</a>, <a href="/en-US/docs/WebAPI/Mobile_Connection" title="WebAPI/Mobile_Connection">Mobile Connection API</a>, <a href="/en-US/docs/WebAPI/Network_Stats" title="WebAPI/Network_Stats">Network Stats API</a>, <a href="/en-US/docs/WebAPI/WebTelephony" title="WebAPI/WebTelephony">Telephony</a>, <a href="/en-US/docs/WebAPI/WebSMS" title="WebAPI/WebSMS">WebSMS</a>, <a href="/en-US/docs/WebAPI/WiFi_Information" title="WebAPI/WiFi_Information">WiFi Information API</a>, <a href="/en-US/docs/WebAPI/Camera" title="WebAPI/Camera">Camera API</a>, <a href="/en-US/docs/WebAPI/Power_Management" title="WebAPI/Power_Management">Power Management API</a>, <a href="/en-US/docs/WebAPI/Settings" title="WebAPI/Settings">Settings API</a>, <a href="/en-US/docs/WebAPI/Idle" title="WebAPI/Device_Storage_API">Idle API</a>, <a href="/en-US/docs/WebAPI/Permissions" title="WebAPI/Permissions">Permissions API</a>, <a href="/en-US/docs/WebAPI/Time_and_Clock" title="WebAPI/Time_and_Clock">Time/Clock API</a>.</dd>
    </dl>
  </div>
  <div class="section">
    <h2 class="Community" id="EditCommunity"><a class="edit-section" data-section-id="Community" data-section-src-url="/en-US/docs/Web/Reference/API?raw=true&amp;section=Community" href="/en-US/docs/Web/Reference/API$edit?section=Community&amp;edit_links=true" title="Edit section">Edit</a>Community</h2>
    <p>Join the Web API community on our mailing list or newsgroup:</p>
    <ul>
      <li><a class="external" href="https://lists.mozilla.org/listinfo/dev-webapi">as a mailing list</a></li>
      <li><a href="news://news.mozilla.org/mozilla.dev.webapi">as a newsgroup</a></li>
      <li><a class="external" href="http://groups.google.com/group/mozilla.dev.webapi">as a Google Group</a></li>
      <li><a class="external" href="http://groups.google.com/group/mozilla.dev.webapi/feeds">as a Web feed</a></li>
    </ul>
    <p>Also, be sure to join in the live discussion in the <a href="irc://irc.mozilla.org/webapi">#webapi</a> channel on <a class="external" href="https://wiki.mozilla.org/IRC">IRC</a>.</p>
    <h2 class="Related_Topics" id="Related_topics">Related topics</h2>
    <p>These topics may also be of interest:</p>
    <ul>
      <li><a href="/en-US/docs/Web/API">Index of all Web API interfaces</a></li>
    </ul>
  </div>
</div>
<p>&nbsp;</p>
Revert to this revision