Last updated on October 04, 2017

API changelog for Appspace 6.2


Below are the recent API changes made in Appspace on-premises 6.2.


User API

API changes were made to

  • Retrieve User - GET http://{your-server-url}/api/v1/core/users
  • Create User - POST http://{your-server-url}/api/v1/core/users
  • Update User - PUT http://{your-server-url}/api/v1/core/users
  • Delete User - DELETE http://{your-server-url}/api/v1/core/users

New features in Appspace v6.0

  • A new user group named ‘Users’ is introduced, which is a system user group. This group cannot be deleted, and users belong to this group by default.
  • The MembersOf property is introduced, that returns a collection of data of the multiple user groups associated with a user.

Changes from Appspace v5.11 to v6.0

  • The user GroupId is now updated to a default group.
  • The ‘InheritedEntitlementIds’ property will return all user groups entitlements that the user is associated to.
  • The ‘InheritedRoleIds’ property will return all user group roles that the user is associated to.

Deprecations in Appspace v6.0

The UsergroupId property is still available for backward compatibility, but the value is not being referenced. The value is now available in ‘MembersOf’.


Example:

  • v5.11

    API: GET http://{your-server-url}/api/v1/core/users

    Returns:

    {
      Name: Lindsay,
      GroupId: 23,
      InheritedEntitilementIds: [33, 34],
      EntitlementIds: [5],
      InheritedRoleIds: [6],
    }
    

  • v6.0

    API: GET http://{your-server-url}/api/v1/core/users

    Returns:

    {
      Name: Lindsay,
      GroupId: 52,
      InheritedEntitilementIds: [33, 34, 97],
      EntitlementIds: [5],
      InheritedRoleIds: [6, 67],
      MemberOf: [23, 52],
    }
    

Library API

API changes were made to

  • Retrieve Content - GET http://{your-server-url}/api/v1/core/libraries/contents
  • Retrieve Content - GET http://{your-server-url}/api/v1/core/libraries/groups
  • Retrieve Content - GET http://{your-server-url}/api/v1/core/libraries/groups/{groudId}
  • Retrieve Content - GET http://{your-server-url}/api/v1/core/libraries/groups/{groupId}/contents
  • Retrieve Content - GET http://{your-server-url}/api/v1/core/libraries/groups/{groupId}/contents/{contentId}

Changes from Appspace v5.11 to v6.0

Retrieve Content API will return content including the user groups which the user is associated to.


Example:

  • v5.11

    API: GET http://{your-server-url}/api/v1/core/libraries/contents

    Returns:

    {
      Content: [{ Id:23, Name: My Content}],
    }
    

  • v6.0

    API: GET http://{your-server-url}/api/v1/core/libraries/contents

    Returns:

    {
        Content:[{ Id:23, Name: OldGroup},{ Id:52, Name: Users}],
    }