aboutsummaryrefslogtreecommitdiffstats
path: root/doc/developer
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-12-19 22:12:08 -0500
committerzotlabs <mike@macgirvin.com>2016-12-19 19:35:19 -0800
commitc968d1194349c93bd9ca02ba3a8717875baa68e9 (patch)
tree989f7f74873c1953dbb1ca3ea58ea94402816f3f /doc/developer
parente0918816fb2d1dbe55a112bcf4d8d9fc7e46fbfb (diff)
downloadvolse-hubzilla-c968d1194349c93bd9ca02ba3a8717875baa68e9.tar.gz
volse-hubzilla-c968d1194349c93bd9ca02ba3a8717875baa68e9.tar.bz2
volse-hubzilla-c968d1194349c93bd9ca02ba3a8717875baa68e9.zip
Move headings down to start at H3 at Mario's direction
Diffstat (limited to 'doc/developer')
-rw-r--r--doc/developer/api_zot.md77
-rw-r--r--doc/developer/developer_guide.md22
2 files changed, 48 insertions, 51 deletions
diff --git a/doc/developer/api_zot.md b/doc/developer/api_zot.md
index 2458da8b2..d46cc8860 100644
--- a/doc/developer/api_zot.md
+++ b/doc/developer/api_zot.md
@@ -1,30 +1,27 @@
-Zot API
-=======
+### Zot API
The API endpoints detailed below are relative to `api/z/1.0`, meaning that if an
API is listed as `channel/stream` the full API URL is
`[baseurl]/api/z/1.0/channel/stream`
-channel/export/basic
-================================================================================
+### channel/export/basic
Export channel data
-channel/stream
-================================================================================
+### channel/stream
Fetch channel conversation items
-network/stream
-================================================================================
+### network/stream
+
Fetch network conversation items
-files
-================================================================================
+### files
+
List file storage (attach DB)
@@ -130,13 +127,13 @@ Returns:
-filemeta
-================================================================================
+### filemeta
+
Export file metadata for any uploaded file
-filedata
-================================================================================
+### filedata
+
Provides the ability to download a file from cloud storage in chunks
@@ -203,14 +200,14 @@ Returns:
}
-file/export
-================================================================================
+### file/export
+
-file
-================================================================================
+### file
+
+
+### albums
-albums
-================================================================================
Description: list photo albums
@@ -278,18 +275,18 @@ Example:
-photos
-================================================================================
+### photos
+
list photo metadata
-photo
-================================================================================
+### photo
+
-group
-================================================================================
+### group
+
`GET /api/z/1.0/group`
@@ -328,8 +325,8 @@ To use with API group_members, provide either 'group_id' from the id element ret
}
]
-group_members
-================================================================================
+### group_members
+
`GET /api/z/1.0/group_members`
@@ -461,8 +458,8 @@ group_member+abook+xchan (DB join) for each member of the privacy group
]
-xchan
-================================================================================
+### xchan
+
An xchan is a global location independent channel and is the primary record for a network
identity. It may refer to channels on other websites, networks, or services.
@@ -506,8 +503,8 @@ Returns:
"deleted": "0"
}
-item/update
-================================================================================
+### item/update
+
Create or update an item (post, activity, webpage, etc.)
@@ -733,22 +730,22 @@ Returns:
}
-item/full
-================================================================================
+### item/full
+
Get all data associated with an item
-abook
-================================================================================
+### abook
+
Connections
-abconfig
-================================================================================
+### abconfig
+
Connection metadata (such as permissions)
-perm_allowed
-================================================================================
+### perm_allowed
+
Check a permission for a given xchan
diff --git a/doc/developer/developer_guide.md b/doc/developer/developer_guide.md
index 7ec76714f..fa50de8a1 100644
--- a/doc/developer/developer_guide.md
+++ b/doc/developer/developer_guide.md
@@ -1,4 +1,4 @@
-# Who is a Hubzilla developer? Should I read this?
+### Who is a Hubzilla developer? Should I read this?
Anyone who contributes to making Hubzilla better is a developer. There are many different and important ways you can contribute to this amazing technology, _even if you do not know how to write code_. The software itself is only a part of the Hubzilla project. You can contribute by
@@ -11,31 +11,31 @@ _Software_ developers are of course welcomed; there are so many great ideas to i
This document will help you get started learning and contributing to Hubzilla.
-# Versioning system
+### Versioning system
The versioning system is similar to the popular semantic versioning but less stringent. Given x.y.z, x changes yearly. y changes for "stable" monthly builds, and z increments when there are interface changes. We maintain our date and build numbers for medium grain version control (commits within a certain date range) and of course git revs for fine grained control.
-# Git repository branches
+### Git repository branches
There are two official branches of the Hubzilla git repo.
* The stable version is maintained on the **master** branch. The latest commit in this branch is considered to be suitable for production hubs.
* Experimental development occurs on the **dev** branch, which is merged into **master** when it is deemed tested and stable enough.
-# Developer tools and workflows
+### Developer tools and workflows
-## Hub Snapshots
+#### Hub Snapshots
-The [[Hub Snapshots]] page provides instructions and scripts for taking complete
+The [hub snapshots](/help/admin/hub_snapshots) page provides instructions and scripts for taking complete
snapshots of a hub to support switching between consistent and completely known
states. This is useful to prevent situations where the content or database schema
might be incompatible with the code.
-# Translations
+### Translations
Our translations are managed through Transifex. If you wish to help out translating Hubzilla to another language, sign up on transifex.com, visit [https://www.transifex.com/projects/p/red-matrix/](https://www.transifex.com/projects/p/red-matrix/) and request to join one of the existing language teams or create a new one. Notify one of the core developers when you have a translation update which requires merging, or ask about merging it yourself if you're comfortable with git and PHP. We have a string file called 'messages.po' which is gettext compliant and a handful of email templates, and from there we automatically generate the application's language files.
-## Translation Process
+#### Translation Process
The strings used in the UI of Hubzilla is translated at [Transifex][1] and then
included in the git repository at github. If you want to help with translation
@@ -98,7 +98,7 @@ view/de/hmessages.po you would do the following.
repository, push it to your fork of the Hubzilla repository at github and
issue a pull request for that commit.
-## Utilities
+#### Utilities
Additional to the po2php script there are some more utilities for translation
in the "util" directory of the Hubzilla source tree. If you only want to
@@ -108,7 +108,7 @@ works.
For further information see the utils/README file.
-## Known Problems
+#### Known Problems
* Hubzilla uses the language setting of the visitors browser to determain the
language for the UI. Most of the time this works, but there are some known
@@ -116,7 +116,7 @@ For further information see the utils/README file.
* the early translations are based on the friendica translations, if you
some rough translations please let us know or fix them at Transifex.
-# To-be-organized information
+### To-be-organized information
**Here is how you can join us.**