Skip to:
Content

BuddyPress.org

Changeset 14047


Ignore:
Timestamp:
10/18/2024 02:24:44 AM (8 months ago)
Author:
imath
Message:

Document the BuddyPress Groups REST API routes

Props espellcaste

See #9145
See https://github.com/buddypress/bp-documentation/issues/298
Closes https://github.com/buddypress/buddypress/pull/387

Location:
trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/developer/execution-contexts/rest-api/activity.md

    r14045 r14047  
    8989| --- | --- |
    9090| `primary_item_id` | The ID of some other object primarily associated with this one. <br />JSON data type: _integer_. |
    91 | `primary_item_id` | The ID of some other object also associated with this one. <br />JSON data type: _integer_. |
     91| `secondary_item_id` | The ID of some other object also associated with this one. <br />JSON data type: _integer_. |
    9292| `link` | The permalink to this activity item on the site. <br />JSON data type: _string_, format: _URI_. |
    9393| `component` | The active BuddyPress component the activity relates to. <br />JSON data type: _string_. <br />One of: the active BuddyPress component names. <br />Default: `activity`. |
  • trunk/docs/developer/execution-contexts/rest-api/reference.md

    r14045 r14047  
    2323| Extended Profile Data | `/buddypress/v2/xprofile/<field_id>/data/<user_id>` |
    2424| Friends | `/buddypress/v2/friends` |
    25 | User Groups | `/buddypress/v2/groups` |
     25| [User Groups](./groups.md) | `/buddypress/v2/groups` |
    2626| Group Profile Photo | `/buddypress/v2/groups/<group_id>/avatar` |
    2727| Group Profile Cover | `/buddypress/v2/groups/<group_id>/cover` |
  • trunk/docs/developer/manifest.json

    r14046 r14047  
    187187    },
    188188    {
     189        "title": "User Groups REST API routes",
     190        "slug": "bp-rest-api-groups",
     191        "markdown_source": "../developer/execution-contexts/rest-api/groups.md",
     192        "parent": "bp-rest-api-reference"
     193    },
     194    {
    189195        "title": "BuddyPress Functions",
    190196        "slug": "bp-functions",
  • trunk/src/bp-groups/classes/class-bp-groups-rest-controller.php

    r14026 r14047  
    11271127            $key                         = 'create_item';
    11281128            $args['description']['type'] = 'string';
     1129            unset( $args['description']['properties'] );
    11291130
    11301131            // Add group types.
Note: See TracChangeset for help on using the changeset viewer.