Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 409
    • Issues 409
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 17
    • Merge requests 17
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhalefunkwhale
  • funkwhalefunkwhale
  • Merge requests
  • !187

Resolve "Use nodeinfo schema for instance statistics"

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Agate requested to merge 192-nodeinfo into develop May 07, 2018
  • Overview 6
  • Commits 9
  • Pipelines 4
  • Changes 13

Closes #192 (closed)

Feedback welcome!

/.well-known/nodeinfo payload:

{
  "links": [
    {
      "rel": "http://nodeinfo.diaspora.software/ns/schema/2.0",
      "href": "https://node1.funkwhale.test/api/v1/instance/nodeinfo/2.0/"
    }
  ]
}

/api/v1/instance/nodeinfo/2.0/ payload:

{
    "version": "2.0",
    "software": {
        "name": "funkwhale",
        "version": "0.11"
    },
    "protocols": [
        "activitypub"
    ],
    "services": {
        "inbound": [],
        "outbound": []
    },
    "openRegistrations": true,
    "usage": {
        "users": {
            "total": 6
        },
        "localPosts": 0,
        "localComments": 0
    },
    "metadata": {
        "shortDescription": "The best instance out there",
        "longDescription": "Lorem ipsum dolor sic amet",
        "name": "Funk the system",
        "library": {
            "federationEnabled": true,
            "federationNeedsApproval": true,
            "tracks": {
                "total": 2327
            },
            "artists": {
                "total": 108
            },
            "albums": {
                "total": 192
            },
            "music": {
                "hours": 1.9491666666666667
            }
        },
        "usage": {
            "favorites": {
                "tracks": {
                    "total": 1
                }
            },
            "listenings": {
                "total": 8
            }
        }
    }
}
Edited May 07, 2018 by Agate
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 192-nodeinfo