Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple recipients #18

Merged
merged 16 commits into from
Jan 30, 2023
Merged

Support multiple recipients #18

merged 16 commits into from
Jan 30, 2023

Conversation

fancycode
Copy link
Member

@fancycode fancycode commented Nov 17, 2022

@federico-astrairidium FYI for first API docs

  • Option to select if to be signed in order or simultaneously.
  • Next signers see / review the previously signed version.

@fancycode fancycode linked an issue Nov 21, 2022 that may be closed by this pull request
@federico-astrairidium
Copy link
Contributor

federico-astrairidium commented Nov 25, 2022

I got this error: "error" : "too_many_recipients"

http://10.211.55.3/nextcloud/ocs/v2.php/apps/esig/api/v1/share?format=json

{
  "recipients" : [
    {
      "type" : "user",
      "value" : "admin"
    },
    {
      "value" : "mario",
      "type" : "user"
    }
  ],
  "file_id" : 304,
  "metadata" : {
    "version" : "1.0",
    "signature_fields" : [
      {
        "y" : 336,
        "id" : "sig-1-16692895879exfN",
        "page" : 1,
        "width" : 200,
        "height" : 120,
        "x" : 206
      }
    ]
  }
}

response:

{
  "ocs" : {
    "data" : {
      "error" : "too_many_recipients"
    },
    "meta" : {
      "statuscode" : 400,
      "status" : "failure",
      "message" : null
    }
  }
}

@federico-astrairidium
Copy link
Contributor

@fancycode

@fancycode fancycode marked this pull request as ready for review January 30, 2023 11:09
@fancycode fancycode merged commit d3f1d09 into master Jan 30, 2023
@fancycode fancycode deleted the multiple-recipients branch January 30, 2023 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support multiple recipients
2 participants