Interface SyncopeService

    • Method Detail

      • batch

        @POST
        @Path("/batch")
        @Consumes("multipart/mixed")
        @Produces("multipart/mixed")
        javax.ws.rs.core.Response batch​(InputStream input)
        Requests for batch execution.
        Parameters:
        input - batch request
        Returns:
        batch results returned as Response entity, in case no 'Prefer: respond-async' was specified
      • batch

        @GET
        @Path("/batch")
        @Produces("multipart/mixed")
        javax.ws.rs.core.Response batch()
        Gets batch results, in case asynchronous was requested.
        Returns:
        batch results as Response entity
      • searchAssignableGroups

        @POST
        @Path("/assignableGroups/{realm:.*}")
        @Produces({"application/json","application/yaml","application/xml"})
        PagedResult<GroupTO> searchAssignableGroups​(@NotNull @PathParam("realm")
                                                    @NotNull String realm,
                                                    @QueryParam("term")
                                                    String term,
                                                    @Min(1L) @QueryParam("page") @DefaultValue("1")
                                                    @javax.validation.constraints.Min(1L) int page,
                                                    @Min(1L) @QueryParam("size") @DefaultValue("25")
                                                    @javax.validation.constraints.Min(1L) int size)
        Returns the list of Groups, according to provided paging instructions, assignable to Users and Any Objects of the provided Realm.
        Parameters:
        term - groups search term
        realm - of the User and Any Objects assignable to the returned Groups
        page - search page
        size - search page size
        Returns:
        list of Groups, according to provided paging instructions, assignable to Users and Any Objects of the provided Realm
      • readUserTypeExtension

        @GET
        @Path("/userTypeExtension/{groupName}")
        @Produces({"application/json","application/yaml","application/xml"})
        TypeExtensionTO readUserTypeExtension​(@NotNull @PathParam("groupName")
                                              @NotNull String groupName)
        Extracts User type extension information, for the provided group.
        Parameters:
        groupName - group name
        Returns:
        User type extension information, for the provided group
      • exportInternalStorageContent

        @GET
        @Path("internalStorage/stream")
        javax.ws.rs.core.Response exportInternalStorageContent​(@QueryParam("tableThreshold") @DefaultValue("100")
                                                               int tableThreshold)
        Exports internal storage content as downloadable XML file.
        Parameters:
        tableThreshold - the maximum number of rows to take for each table of internal storage
        Returns:
        internal storage content as downloadable XML file