- Using DIGIT-PLAYGROUND
- User
- Master Data V1
- Master Data V2
- Create Schema
- Search Schema
- Add Data
- Seach Data
- Update data
- Access-control
- Action
- Role
- Role-Action
- Workflow-v2
- WorkFlow
- Create new workflow entry for a given application number(businessId).
- Process search of the applicaition
- Get the list of workflow applications defined in the system.
- Get the count of applications satisfying the given criteria
- Get the nearing sla count of workflow applications defined in the system.
- Get the list of status count workflow applications defined in the system.
- Escalate
- BusinessServiceV2
- BusinessService
- Filestore
- Idgen
- Location
- Enc-Service
- Crypto
- Encrypts the given input value/s OR values of the object.POST
- Decrypts the given input value/s OR values of the object.POST
- Provide signature for a given value.POST
- Check if the signature is correct for the provided value.POST
- Deactivate the keys for the given tenant and generate new keys. It will deactivate both symmetric and asymmetric keys for the provided tenant.POST
- cryptoRotateAllKeysPOST
- PG-Service
- URL-Shortening
- Indexer
- egov-indexer service
- This endpoint is used to start legacy index job to reindex records from DB. The data is fetched from DB by calling api mentioned in request in batches. The is useful when some record is present in DB but missing on index.
- This endpoint is used to start indexing job to reindex records from one index to another index.
- This endpoint is used to index one record on a index. The information to pick correct config is provided with the data to be indexed.
- Index data in row
- egov-indexer service
- PDF-Service
- PDF-Service endpoints
- Generate PDF and store output pdfs to filestore and return their filestoreids. The information is also saved into DB so that using _search endpoint we can retrieve already generated pdfs.
- Generates pdf without storing any information on filestore or in DB. The generated pdf would be returned as binary response
- Get filestoreids and other information about already generated pdf by searching on jobid or entityid with other optional search parameters
- PDF-Service endpoints
- Report
- eGov-OTP
- User-OTP
- Localization
- Service Request
- Audit Service
Provide signature for a given value.
POST
/crypto/v1/_sign
Crypto
Last modified:2024-04-19 09:49:22
Request
Body Params application/json
A Sign request containing tenant id and the string value to be signed.
tenantId
string
required
value
string
required
Example
{
"tenantId": "pb.amritsar",
"value": "claim"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://unified-dev.digit.org/egov-enc-service/crypto/v1/_sign' \
--header 'Content-Type: application/json' \
--data-raw '{
"tenantId": "pb.amritsar",
"value": "claim"
}'
Responses
🟢200Response contains the value that has been signed and the value of signature.
application/json
Body
Response to sign api containing the actual value and its corresponding signature.
value
string
optional
signature
string
optional
Example
{
"value": "claim",
"signature": "436958|JLXQk7KP0y1nU3YHKLe0aq7EJp1iPEfNcIrbsgBh2u2U9aLCYfr8tVWGPud7JNQ5uiKJ1gTMFgzGU4XfTwUZDENHQ6mpFOhxH+LVVggj9QmDZk629ce2X7ju4aHuX6WDBx9/bxHstE8r5F47sP7f6ryY52HDQ5D5/8b7SX3WkkE="
}
🟠400Invalid input.
Modified at 2024-04-19 09:49:22