App Metadata

The appinfo/info.xml contains metadata about the app:

<?xml version="1.0"?>
    <name>Your App</name>
    <description>Your App description</description>
    <author>Your Name</author>






    <repository type="git"></repository>


        <php min-version="5.4" max-version="5.5"/>
        <command os="linux">grep</command>
        <command os="windows">notepad.exe</command>
        <lib min-version="1.2">xml</lib>
        <lib max-version="2.0">intl</lib>
        <owncloud min-version="6.0.4" max-version="8"/>

    <!-- deprecated, just for reference -->
        <file id="caldav">appinfo/caldav.php</file>

        <file id="caldav">appinfo/caldav.php</file>

    <standalone />

    <default_enable />
    <!-- end deprecated -->


Required: This field contains the internal app name, and has to be the same as the folder name of the app. This id needs to be unique in ownCloud, meaning no other app should have this id.


Required: This is the human-readable name/title of the app that will be displayed in the app overview page.


Required: This contains the description of the app which will be shown in the app overview page.


Contains the version of your app.


Required: The licence of the app. This licence must be compatible with the AGPL and must not be proprietary, for instance:

  • AGPL 3 (recommended)
  • MIT

If a proprietary/non AGPL compatible licence should be used, the ownCloud Enterprise Edition must be used.


Required: The name of the app author or authors.


Required if not added in the <dependencies> tag. The minimal version of ownCloud.


Required if routes.php returns an array. If your app is namespaced like \OCA\MyApp\Controller\PageController the required namespace value is MyApp. If not given it tries to default to the first letter upper cased app id, e.g. myapp would be tried under Myapp


ownCloud allows to specify four kind of types. Currently supported types:

  • prelogin: apps which need to load on the login page
  • filesystem: apps which provide filesystem functionality (e.g. files sharing app)
  • authentication: apps which provide authentication backends
  • logging: apps which implement a logging system
  • prevent_group_restriction: apps which can not be enabled for specific groups (e.g. notifications app). Introduced with ownCloud 9.0, can also be used in earlier versions, but the functionality is ignored.


Due to technical reasons apps of any type listed above can not be enabled for specific groups only.


Link to ‘admin’ and ‘user’ documentation


Link to project web page


Link to the version control repo


Link to the bug tracker


Category on the app store. Can be one of the following:

  • multimedia
  • productivity
  • game
  • tool


The app’s id on the app store, e.g.: would have the ocsid 168497. If given helps users to install and update the same app from the app store


All tags within the dependencies tag define a set of requirements which have to be fulfilled in order to operate properly. As soon as one of these requirements is not met the app cannot be installed.


Defines the minimum and the maximum version of php which is required to run this app.


Each supported database has to be listed in here. Valid values are sqlite, mysql, pgsql, oci and mssql. In the future it will be possible to specify versions here as well. In case no database is specified it is assumed that all databases are supported.


Defines a command line tool to be available. With the attribute ‘os’ the required operating system for this tool can be specified. Valid values for the ‘os’ attribute are as returned by the php function php_uname.


Defines a required php extension with required minimum and/or maximum version. The names for the libraries have to match the result as returned by the php function get_loaded_extensions. The explicit version of an extension is read from phpversion - with some exception as to be read up in the code base


Defines the required target operating system the app can run on. Valid values are as returned by the php function php_uname.


Defines minimum and maximum versions of the ownCloud core. In case undefined the values will be taken from the tag ‘requiremin’.


The following sections are just listed for reference and should not be used because

  • public/remote: Use RESTful API instead because you’ll have to use External API which is known to be buggy (works only properly with GET/POST)
  • standalone/default_enable: They tell core what do on setup, you will not be able to even activate your app if it has those entries. This should be replaced by a config file inside core.


Used to provide a public interface (requires no login) for the app. The id is appended to the URL /owncloud/index.php/public. Example with id set to ‘calendar’:


Also take a look at External API.


Same as public but requires login. The id is appended to the URL /owncloud/index.php/remote. Example with id set to ‘calendar’:


Also take a look at External API.


Can be set to true to indicate that this app is a webapp. This can be used to tell GNOME Web for instance to treat this like a native application.


Core apps only: Used to tell ownCloud to enable them after the installation.


Core apps only: Used to tell ownCloud that the app is in the standard release.

Please note that if this attribute is set to FALSE or not set at all, every time you disable the application, all the files of the application itself will be REMOVED from the server!

All documentation licensed under the Creative Commons Attribution 3.0 Unported license.