Interface ScvRestService

    • Method Detail

      • getCredentials

        @GET
        @Produces("application/json")
        @Path("{alias}")
        javax.ws.rs.core.Response getCredentials​(@PathParam("alias")
                                                 String alias)
        Get Credentials for an alias.
        Parameters:
        alias - alias for the credentials.
      • getAliases

        @GET
        @Produces("application/json")
        javax.ws.rs.core.Response getAliases()
        Get set of aliases
      • addCredentials

        @POST
        @Consumes("application/json")
        javax.ws.rs.core.Response addCredentials​(CredentialsDTO credentialsDTO)
        Add Credentials to Scv
        Parameters:
        credentialsDTO - Credentials with an alias
      • editCredentials

        @PUT
        @Consumes("application/json")
        @Path("{alias}")
        javax.ws.rs.core.Response editCredentials​(@PathParam("alias")
                                                  String alias,
                                                  CredentialsDTO credentialsDTO)
        Add Credentials to Scv
        Parameters:
        credentialsDTO - Credentials with an alias