Skip to content

Commit

Permalink
Add homepage_url to manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
josei committed Sep 26, 2018
1 parent ffe909a commit 18bdf20
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/contents/reference/registry.rst
Expand Up @@ -18,9 +18,10 @@ A sample manifest file looks as follows:
{ "version": "1.0",
"name": "Super Scoring App",
"description": "This app provides great risk scores",
"homepage_url": "http://example.com/super-scoring-app",
"picture_url": "http://example.com/logo-square.png",
"address": "0xc25b4ff9eb6f52392eef1e103daacc7519795f01",
"app_url": "http://api.example.com/super-scoring-app",
"app_url": "http://api.example.com/super-scoring-app/data",
"app_reward": 10,
"app_schema": "{\"score\":5}",
"app_dependencies": [
Expand All @@ -37,6 +38,8 @@ The manifest file must be serialized as JSON and has the following fields:

- Description: a human-readable description for the actor, which will be used in permission dialogs along with the name.

- Homepage URL: a URL where a user can get more information about the app, opt-in, and opt-out.

- Picture URL: a square picture that represents the actor, which will be used in permission dialogs along with the name and description.

- Address: the public key of the app.
Expand Down
2 changes: 2 additions & 0 deletions docs/contents/tutorial/hello_world.rst
Expand Up @@ -56,6 +56,7 @@ We'll build a simple Ruby service that computes the magic number given a subject
version: '1.0',
name: 'Hello World',
description: 'Returns a magic number',
homepage_url: "http://localhost:8081",
address: '0x88032398beab20017e61064af3c7c8bd38f4c968',
app_url: 'http://localhost:8081/data',
app_reward: 0,
Expand Down Expand Up @@ -97,6 +98,7 @@ This will launch a server that listens on port 8080 and has two endpoints:
"name": "Hello World",
"description": "Returns a magic number",
"address": "0x88032398beab20017e61064af3c7c8bd38f4c968",
"homepage_url": "http://localhost:8081",
"app_url": "http://localhost:8081/data",
"app_reward": 0,
"app_dependencies": []
Expand Down
2 changes: 2 additions & 0 deletions docs/contents/tutorial/risk_score.rst
Expand Up @@ -79,6 +79,7 @@ We'll build a service in Node.js that makes some computation out of the magic nu
"name": "Risk Score",
"description": "Returns a risk score based on your data",
"address": "0x6d644c57247de51da20797f14dceedfbc4ef6561",
"homepage_url": "http://localhost:8083",
"app_url": "http://localhost:8083/data",
"app_reward": 0,
"app_dependencies": ['0x88032398beab20017e61064af3c7c8bd38f4c968'],
Expand Down Expand Up @@ -113,6 +114,7 @@ This will launch a server that listens on port 8082 and has two endpoints:
"name": "Risk Score",
"description": "Returns a risk score based on your data",
"address": "0x6d644c57247de51da20797f14dceedfbc4ef6561",
"homepage_url": "http://localhost:8083",
"app_url": "http://localhost:8083/data",
"app_reward": 0,
"app_dependencies": ['0x88032398beab20017e61064af3c7c8bd38f4c968']
Expand Down

0 comments on commit 18bdf20

Please sign in to comment.