License3j-API
    License3j-API
    • Create a fresh license in memory
      POST
    • Show the license available in memory
      GET
    • Upload a license file to memory
      POST
    • Add feature to a license
      POST
    • Generate Private and Public Key Pair
      POST
    • Download Generated Keys
      GET
    • Upload a private key to memory
      POST
    • Upload a public key to memory
      POST
    • Dump Public Key
      GET
    • Sign the license
      POST
    • Verify license signature
      GET
    • Download Signed License
      GET
    • Check if a license is loaded in memory
      GET
    • Check if a license requires signing
      GET
    • Check if a license requires saving
      GET
    • Check if a private key is loaded in memory
      GET
    • Check if a public key is loaded in memory
      GET
    • API Status
      GET
    • Get Session ID
      GET

      Add feature to a license

      POST
      https://license3j-api.onrender.com/api/license/addfeature
      Last modified:2025-05-26 06:15:58
      Maintainer:Not configured
      A license in License3j is a collection of features. Each feature has
      a name,
      a type and
      a value (or content)
      The name can be any string you like, but there are some predefined names that have special meaning for the license management library. These are the following:
      licenseId the unique id of the license (UUID)
      licenseSignature the signature of the license (BINARY)
      signatureDigest the digest of the license that was signed (STRING)
      expiryDate the expiry date of the license (DATE)
      A feature’s type can be
      BINARY can contain an arbitrary binary value that is retrieved by the Java code as a byte[] array
      STRING can contain any string, will be retrieved as java.lang.String
      BYTE contains a single byte value.
      SHORT contains a single short value
      INT contains an integer (int) value
      LONG contains a long value
      FLOAT contains a float value
      DOUBLE contains a double value
      BIGINTEGER contains a big integer value
      BIGDECIMAL contains a big decimal value
      DATE contains a date value
      UUID contains a UUID value
      The value of the different features can be retrieved as the corresponding Java object or as a primitive value if there is a matching primitive type. There is no automatic conversion between the different types of the features.

      Request

      Query Params

      Responses

      🟢200Success
      application/json
      Body

      🟠400No License in memory
      🟠400Improper Feature Type
      🟠400Empty Features
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://license3j-api.onrender.com/api/license/addfeature?featureName=licensedTo&featureType=STRING&featureContent=Eggy'
      Response Response Example
      200 - Success
      {"status":"Feature: licensedTo of type STRING with value Eggy has been added"}
      Modified at 2025-05-26 06:15:58
      Previous
      Upload a license file to memory
      Next
      Generate Private and Public Key Pair
      Built with