Interfacing to an archive web server

A web server providing access to a package archive must support the following queries:

archive-contents

Return a lisp form describing the archive contents. The form is a list of ’package-desc’ structures (see package.el), except the first element of the list is the archive version.

<package name>-readme.txt

Return the long description of the package.

<file name>.sig

Return the signature for the file.

<file name>

Return the file. This will be the tarball for a multi-file package, or the single file for a simple package.

Copyright © 1990-1996, 1998-2021 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
https://www.gnu.org/software/emacs/manual/html_node/elisp/Archive-Web-Server.html