Diaspora Aspects API

The Aspects API from Diaspora — 2 operation(s) for aspects.

GitHub OpenAPI
Business capability
Social Networks & Community AE-170.50

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /aspects List my contact aspects · Get lists of aspects #
Ask an LLM
“Which contact aspects have I created?”
“Can I see all my contact groups?”
Tell an agent
List my contact aspects.
Show every aspect I use to group contacts.
POST /aspects Create a contact aspect · Create new aspect #
Ask an LLM
“How do I create a new contact group?”
“Can I add a new aspect for organizing contacts?”
Tell an agent
Create a new aspect.
Add a contact aspect called Friends.
GET /aspects/{aspect_id} Get a contact aspect · Get information about an aspect #
Ask an LLM
“What is the name of one aspect?”
“Can I look up a single aspect by ID?”
Tell an agent
Show aspect {aspect_id}.
Get the name of aspect {aspect_id}.
PATCH /aspects/{aspect_id} Rename or reorder a contact aspect · Edit an aspect #
Ask an LLM
“Can I rename a contact aspect?”
“Is it possible to change the order of my aspects?”
Tell an agent
Rename aspect {aspect_id} to {name}.
Move aspect {aspect_id} to position {order}.
DELETE /aspects/{aspect_id} Delete a contact aspect · Delete an aspect #
Ask an LLM
“How do I remove a contact group?”
“Can I delete an aspect I no longer use?”
Tell an agent destructive · confirm first
Delete aspect {aspect_id}.
Remove contact aspect {aspect_id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/diaspora:diaspora-aspects-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

diaspora-aspects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: diaspora* Aspects API
  version: '1'
  description: The diaspora* API (version 1) as published in the official diaspora* API documentation.
  contact:
    name: diaspora* project
    url: https://diasporafoundation.org/
  license:
    name: AGPL-3.0
    url: https://github.com/diaspora/diaspora/blob/develop/COPYRIGHT
servers:
- url: https://{pod}/api/v1
  description: Any diaspora* pod running a compatible release. Discover support via nodeinfo at https://{pod}/.well-known/nodeinfo.
  variables:
    pod:
      default: diaspora.social
      description: Hostname of the diaspora* pod to talk to.
tags:
- name: Aspects
paths:
  /aspects:
    get:
      operationId: getAspects
      summary: Get lists of aspects
      tags:
      - Aspects
      description: 'Required API scope: contacts:read'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '401':
          description: The API request requires authorization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - openIdConnect:
        - openid
        - contacts:read
    post:
      operationId: createAspects
      summary: Create new aspect
      tags:
      - Aspects
      description: 'Required API scope: contacts:modify'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '401':
          description: The API request requires authorization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - openIdConnect:
        - openid
        - contacts:modify
  /aspects/{aspect_id}:
    get:
      operationId: getAspectsByAspectId
      summary: Get information about an aspect
      tags:
      - Aspects
      description: 'Required API scope: contacts:read'
      parameters:
      - name: aspect_id
        in: path
        required: true
        description: ID of the aspect.
        schema:
          type: integer
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '401':
          description: The API request requires authorization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - openIdConnect:
        - openid
        - contacts:read
    patch:
      operationId: updateAspectsByAspectId
      summary: Edit an aspect
      tags:
      - Aspects
      description: 'Required API scope: contacts:modify'
      parameters:
      - name: aspect_id
        in: path
        required: true
        description: ID of the aspect.
        schema:
          type: integer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: The aspects name.
                order:
                  type: integer
                  description: The aspects position in the aspect list. If provided, the aspect will get inserted into the given position and other aspects will be reordered.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '401':
          description: The API request requires authorization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - openIdConnect:
        - openid
        - contacts:modify
    delete:
      operationId: deleteAspectsByAspectId
      summary: Delete an aspect
      tags:
      - Aspects
      description: 'Required API scope: contacts:modify'
      parameters:
      - name: aspect_id
        in: path
        required: true
        description: ID of the aspect.
        schema:
          type: integer
      responses:
        '204':
          description: No Content
        '401':
          description: The API request requires authorization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - openIdConnect:
        - openid
        - contacts:modify
components:
  schemas:
    Error:
      type: object
      description: Error envelope returned by the diaspora* API.
      properties:
        code:
          type: integer
          description: HTTP status code.
          example: 404
        message:
          type: string
          description: Human readable error message.
          example: Requested entity wasn't found
  securitySchemes:
    openIdConnect:
      type: openIdConnect
      description: OpenID Connect Core 1.0 (Authorization Code Flow or Implicit Flow) with Dynamic Client Registration 1.0. The openid scope is mandatory; public:read is always granted.
      openIdConnectUrl: https://diaspora.social/.well-known/openid-configuration
externalDocs:
  description: diaspora* API documentation
  url: https://diaspora.github.io/api-documentation/