Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
ServiceInfo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Feneas
ServiceInfo
Commits
3b6f1f16
Commit
3b6f1f16
authored
Aug 23, 2015
by
Jonne Haß
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
schema: split services into inbound and outbout subproperties
closes #7 Also improve description, closes #8
parent
c1d6c709
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
33 deletions
+60
-33
schemas/1.0/example.json
schemas/1.0/example.json
+4
-1
schemas/1.0/schema.json
schemas/1.0/schema.json
+56
-32
No files found.
schemas/1.0/example.json
View file @
3b6f1f16
...
...
@@ -8,7 +8,10 @@
"inbound"
:
[
"diaspora"
],
"outbound"
:
[
"diaspora"
]
},
"services"
:
[
"facebook"
,
"twitter"
],
"services"
:
{
"inbound"
:
[
"gnusocial"
],
"outbound"
:
[
"facebook"
,
"twitter"
]
},
"openRegistrations"
:
true
,
"usage"
:
{
"users"
:
{
...
...
schemas/1.0/schema.json
View file @
3b6f1f16
...
...
@@ -8,6 +8,7 @@
"version"
,
"software"
,
"protocols"
,
"services"
,
"openRegistrations"
,
"usage"
,
"metadata"
...
...
@@ -92,38 +93,61 @@
}
},
"services"
:
{
"description"
:
"The third party sites this servers allows to publish messages to."
,
"type"
:
"array"
,
"minItems"
:
0
,
"items"
:
{
"enum"
:
[
"appnet"
,
"blogger"
,
"buddycloud"
,
"diaspora"
,
"dreamwidth"
,
"drupal"
,
"facebook"
,
"friendica"
,
"gnusocial"
,
"google"
,
"insanejournal"
,
"libertree"
,
"linkedin"
,
"livejournal"
,
"mediagoblin"
,
"myspace"
,
"pinterest"
,
"posterous"
,
"pumpio"
,
"redmatrix"
,
"smtp"
,
"tent"
,
"tumblr"
,
"twitter"
,
"wordpress"
,
"xmpp"
]
"description"
:
"The third party sites this server can connect to via their application API."
,
"type"
:
"object"
,
"additionalProperties"
:
false
,
"required"
:
[
"inbound"
,
"outbound"
],
"properties"
:
{
"inbound"
:
{
"description"
:
"The third party sites this server can retrieve messages from for combined display with regular traffic."
,
"type"
:
"array"
,
"minItems"
:
0
,
"items"
:
{
"enum"
:
[
"appnet"
,
"gnusocial"
,
"pumpio"
]
}
},
"outbound"
:
{
"description"
:
"The third party sites this server can publish messages to on the behalf of a user."
,
"type"
:
"array"
,
"minItems"
:
0
,
"items"
:
{
"enum"
:
[
"appnet"
,
"blogger"
,
"buddycloud"
,
"diaspora"
,
"dreamwidth"
,
"drupal"
,
"facebook"
,
"friendica"
,
"gnusocial"
,
"google"
,
"insanejournal"
,
"libertree"
,
"linkedin"
,
"livejournal"
,
"mediagoblin"
,
"myspace"
,
"pinterest"
,
"posterous"
,
"pumpio"
,
"redmatrix"
,
"smtp"
,
"tent"
,
"tumblr"
,
"twitter"
,
"wordpress"
,
"xmpp"
]
}
}
}
},
"openRegistrations"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment