Skip to:
Content

BuddyPress.org

Changeset 14045


Ignore:
Timestamp:
10/14/2024 05:42:19 PM (8 months ago)
Author:
imath
Message:

Document the Activity routes for the v2 of the BP REST API

Adds a pages explaining Activity endpoints.

Props espellcaste

See #9145
Closes https://github.com/buddypress/buddypress/pull/385

Location:
trunk
Files:
1 added
3 edited

Legend:

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

    r14042 r14045  
    1818| Member Profile Cover | `/buddypress/v2/members/<user_id>/cover` |
    1919| Member Registration | `/buddypress/v2/signup` |
    20 | Activity | `/buddypress/v2/activity` |
     20| [Activity](./activity.md) | `/buddypress/v2/activity` |
    2121| Extended Profile Groups | `/buddypress/v2/xprofile/groups` |
    2222| Extended Profile Field | `/buddypress/v2/xprofile/fields` |
  • trunk/docs/developer/manifest.json

    r14042 r14045  
    9797    },
    9898    {
     99        "title": "Activity REST API routes",
     100        "slug": "bp-rest-api-activity",
     101        "markdown_source": "../developer/execution-contexts/rest-api/activity.md",
     102        "parent": "bp-rest-api-reference"
     103    },
     104    {
    99105        "title": "BuddyPress Functions",
    100106        "slug": "bp-functions",
  • trunk/src/bp-activity/classes/class-bp-activity-rest-controller.php

    r14026 r14045  
    13861386                    ),
    13871387                    'date_gmt'          => array(
    1388                         'context'     => array( 'view', 'edit' ),
     1388                        'context'     => array( 'view', 'edit', 'embed' ),
    13891389                        'description' => __( 'The date the activity was published, as GMT.', 'buddypress' ),
    13901390                        'readonly'    => true,
Note: See TracChangeset for help on using the changeset viewer.