Class RestCoreAPI
Defines the entire Rest Core API {@link https://api-explorer.alfresco.com/api-explorer/} select "Core API"
-
Field Summary
Fields inherited from class org.alfresco.rest.requests.ModelRequest
restWrapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a single orphan tag.createTags(List<RestTagModel> tags) Create several orphan tags in one request.getSites()Provides DSL on all REST calls under/sitesAPI pathgetTag(RestTagModel tag) getTags()Make REST calls using current authenticated user.usingCategory(RestCategoryModel categoryModel) usingDownloads(RestDownloadsModel downloadsModel) usingMe()Make REST calls using current authenticated user, but using -me- instead of usernameProvides DSL on all REST calls under/networkAPI pathusingNode(org.alfresco.utility.model.RepoTestModel node) synonym forusingResource(RepoTestModel)usingResource(org.alfresco.utility.model.RepoTestModel node) Provides DSL on all REST calls under/nodesAPI pathSharedLinks api endpointProvides DSL on all REST calls undersites/{siteId}/...API pathusingSite(org.alfresco.utility.model.SiteModel siteModel) Provides DSL on all REST calls undersites/{siteId}/...API pathusingTag(RestTagModel tag) usingUser(org.alfresco.utility.model.UserModel person) Provides DSL of all REST calls under/peopleAPI pathMethods inherited from class org.alfresco.rest.requests.ModelRequest
include, includePath, usingParams
-
Constructor Details
-
RestCoreAPI
-
-
Method Details
-
usingSite
Provides DSL on all REST calls undersites/{siteId}/...API path- Parameters:
siteId-- Returns:
Site
-
usingSite
Provides DSL on all REST calls undersites/{siteId}/...API path- Parameters:
SiteModel-- Returns:
Site
-
getSites
Provides DSL on all REST calls under/sitesAPI path- Returns:
Site
-
usingResource
Provides DSL on all REST calls under/nodesAPI path- Returns:
Node
-
usingNode
synonym forusingResource(RepoTestModel)- Parameters:
node-- Returns:
-
usingNode
-
usingStorageInfo
-
usingUser
Provides DSL of all REST calls under/peopleAPI path- Returns:
People
-
usingMe
Make REST calls using current authenticated user, but using -me- instead of username- Returns:
People
-
usingAuthUser
Make REST calls using current authenticated user. This is set on the#authenticateUser(UserModel)call- Returns:
People
-
usingNetworks
Provides DSL on all REST calls under/networkAPI path- Returns:
Networks
-
createSingleTag
Create a single orphan tag.- Parameters:
tag- Tag model to create.- Returns:
- Created tag.
-
createTags
Create several orphan tags in one request.- Parameters:
tags- Tags models to create.- Returns:
- Created tags.
-
usingTag
-
getTags
-
getTag
-
usingCategory
-
usingQueries
-
usingAudit
-
usingTrashcan
-
usingGroups
-
usingActions
-
usingDownloads
-
usingDownloads
-